Changeset View
Changeset View
Standalone View
Standalone View
data/defaults.yaml
Show First 20 Lines • Show All 2,499 Lines • ▼ Show 20 Lines | |||||
icinga2::apiusers: | icinga2::apiusers: | ||||
root: | root: | ||||
# password in private data | # password in private data | ||||
permissions: | permissions: | ||||
- '*' | - '*' | ||||
icinga2::exported_checks::filename: "/etc/icinga2/zones.d/%{hiera('icinga2::parent_zone')}/exported-checks.conf" | icinga2::exported_checks::filename: "/etc/icinga2/zones.d/%{hiera('icinga2::parent_zone')}/exported-checks.conf" | ||||
systemd_journal::logstash_hosts: | logstash_hosts: | ||||
- 'logstash.internal.softwareheritage.org:5044' | - logstash.internal.softwareheritage.org:5044 | ||||
systemd_journal::logstash_hosts: "%{alias('logstash_hosts')}" | |||||
filebeat::config: | |||||
filebeat.config.inputs: | |||||
enabled: true | |||||
path: inputs.d/*.yml | |||||
output: | |||||
logstash: | |||||
hosts: "%{alias('logstash_hosts')}" | |||||
memcached::server::bind: 127.0.0.1 | memcached::server::bind: 127.0.0.1 | ||||
memcached::server::port: 11211 | memcached::server::port: 11211 | ||||
olasd: There should be one main `logstash_hosts` variable, set to the proper value, and used as an… | |||||
memcached::server::max_memory: '5%' | memcached::server::max_memory: '5%' | ||||
mountpoints: | mountpoints: | ||||
/srv/storage/space: | /srv/storage/space: | ||||
device: uffizi:/srv/storage/space | device: uffizi:/srv/storage/space | ||||
fstype: nfs | fstype: nfs | ||||
options: | options: | ||||
- rw | - rw | ||||
▲ Show 20 Lines • Show All 1,676 Lines • Show Last 20 Lines |
There should be one main logstash_hosts variable, set to the proper value, and used as an "%{alias()}" in other "service-specific" variables.
This way we can change a single variable to point at another logstash server, e.g. per environment, while still keeping separate variables per profile.