2020-10-18 13:33:41 +00:00
|
|
|
defaults = {
|
|
|
|
'cron': {
|
|
|
|
'upgrade-and-reboot': '{minute} 1 * * 5 root /usr/local/sbin/upgrade-and-reboot'.format(
|
|
|
|
minute=node.magic_number % 30,
|
|
|
|
),
|
|
|
|
},
|
2020-11-10 08:50:20 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'apt': {
|
|
|
|
'services': {
|
|
|
|
'UNATTENDED UPGRADES': {
|
|
|
|
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_unattended_upgrades',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-18 13:33:41 +00:00
|
|
|
}
|