bundles/icinga2: add sshmon private key
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-10 13:43:46 +01:00
parent a176a1aa65
commit f30aa48eca
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,6 +1,8 @@
assert node.has_bundle('postgresql')
assert node.has_bundle('sshmon')
from os.path import join
files = {
'/usr/local/share/icinga/plugins/check_bl': {
'mode': '0755',
@ -8,4 +10,13 @@ files = {
'/usr/local/share/icinga/plugins/check_by_sshmon': {
'mode': '0755',
},
'/etc/sshmon.priv': {
'content': repo.vault.decrypt_file(join('sshmon', 'sshmon.key.vault')),
#'owner': 'nagios',
#'group': 'nagios',
'mode': '0400',
#'needs': {
# 'pkg_apt:icinga2-ido-pgsql',
#},
}
}