This commit is contained in:
cronekorkn 2023-02-18 13:13:53 +01:00
parent 8a54f64b18
commit 440b23dfba
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
3 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,4 @@
/**
* This file is requires for inital apt install.
* The JournaldLogger type writes log information to the systemd journal.
*/

View file

@ -10,6 +10,24 @@ directories = {
'svc_systemd:icinga2.service:restart',
],
},
'/etc/icinga2/pki': { # required for apt install
'purge': True,
'owner': 'nagios',
'group': 'nagios',
'mode': '0750',
'triggers': [
'svc_systemd:icinga2.service:restart',
],
},
'/etc/icinga2/zones.d': { # required for apt install
'purge': True,
'owner': 'nagios',
'group': 'nagios',
'mode': '0750',
'triggers': [
'svc_systemd:icinga2.service:restart',
],
},
'/etc/icinga2/conf.d': {
'purge': True,
'owner': 'nagios',
@ -195,7 +213,8 @@ files = {
# FEATURES
for feature, context in {
'journald': {},
'mainlog': {},
# 'journald': {}, FIXME
'notification': {},
'checker': {},
'api': {},

View file

@ -49,7 +49,6 @@ defaults = {
'mountpoint': '/var/lib/icinga2',
'needed_by': {
'pkg_apt:icinga2',
'pkg_apt:icingaweb2',
'pkg_apt:icinga2-ido-pgsql',
},
},