You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, the packaging of icingadb-redis changed, now shipping both a "vanilla" baseline configuration file and an overwrite configuration file.
root@1e8c3af037a6:/# grep '^ExecStart=' /lib/systemd/system/icingadb-redis.service
ExecStart=/usr/bin/icingadb-redis-server /usr/share/icingadb-redis/icingadb-redis-systemd.conf
root@1e8c3af037a6:/# cat /usr/share/icingadb-redis/icingadb-redis-systemd.conf
# Defaults
port 6380
dir /var/lib/icingadb-redis
# DO NOT EDIT THE CURRENT FILE! Edit the following one instead if needed:
include /etc/icingadb-redis/icingadb-redis.conf
# Overrides needed for systemd unit
daemonize no
supervised systemd
This makes at least the following Ansible-configured option obsolete, as it will be overridden:
To not have to update the Redis configuration in this repository for each Redis update, I would suggest moving all overwrites into its own configuration file /etc/icingadb-redis/icingadb-redis.ansible.conf and include it in the last line of /etc/icingadb-redis/icingadb-redis.conf.
I'm wondering if these features are no longer needed or if they should be added to the template? Thanks
diff -U0 <(curl -sL https://raw.githubusercontent.com/Icinga/ansible-collection-icinga/ae45fa9e7f84ce1a8d74fe772f81b95f66f0a67a/roles/icingadb_redis/templates/icingadb-redis.conf.j2 | grep -vE '^ *(#|\{(%-?|\{) |$)' | cut -d' ' -f1 | sort) <( grep -vE '^ *(#|\{(%-?|\{) |$)' /etc/icingadb-redis/icingadb-redis.conf | cut -d' ' -f1 | sort)
The text was updated successfully, but these errors were encountered: