bundles/c3voc-addons: use new way of doing updates, too
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
c41c43cd5c
commit
fab9a41024
3 changed files with 10 additions and 1 deletions
1
bundles/c3voc-addons/files/do-unattended-upgrades
Symbolic link
1
bundles/c3voc-addons/files/do-unattended-upgrades
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../apt/files/do-unattended-upgrades
|
1
bundles/c3voc-addons/files/upgrade-and-reboot.conf
Symbolic link
1
bundles/c3voc-addons/files/upgrade-and-reboot.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../apt/files/upgrade-and-reboot.conf
|
|
@ -63,14 +63,21 @@ files = {
|
|||
'/etc/kernel/postinst.d/unattended-upgrades': {
|
||||
'source': 'kernel-postinst.d',
|
||||
},
|
||||
'/etc/upgrade-and-reboot.conf': {
|
||||
'content_type': 'mako',
|
||||
},
|
||||
'/usr/local/share/icinga/plugins/check_unattended_upgrades': {
|
||||
'mode': '0755',
|
||||
},
|
||||
'/usr/local/sbin/upgrade-and-reboot': {
|
||||
'mode': '0700',
|
||||
},
|
||||
'/usr/local/sbin/do-unattended-upgrades': {
|
||||
'content_type': 'mako',
|
||||
'mode': '0700',
|
||||
'context': {
|
||||
'data': node.metadata.get('apt/unattended-upgrades', {}),
|
||||
'clean_old_kernels': node.metadata.get('apt/clean_old_kernels', True),
|
||||
'restart_triggers': node.metadata.get('apt/restart_triggers', {}),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue