bundles/icinga2: add sshmon private key
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
a176a1aa65
commit
f30aa48eca
1 changed files with 11 additions and 0 deletions
|
@ -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',
|
||||
#},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue