Puppet Class: cis_security_hardening::reboot
- Defined in:
- manifests/reboot.pp
Summary
Handle necessary rebootOverview
Class triggered by resources requesting a system reboot
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/reboot.pp', line 16
class cis_security_hardening::reboot (
Boolean $auto_reboot = $cis_security_hardening::auto_reboot,
Integer $time_until_reboot = $cis_security_hardening::time_until_reboot,
) {
if $auto_reboot {
reboot { 'after_run':
timeout => $time_until_reboot,
message => 'forced reboot by Puppet',
apply => 'finished',
}
}
}
|