reboot 'node-reboot' do
action :nothing
reason 'To apply the new kernel version update, the system needs to be restarted.'
delay_mins 1
only_if { node['system']['auto_reboot'] == true }
end
reboot 'node-reboot' do
action :nothing
reason 'To apply the new kernel version update, the system needs to be restarted.'
delay_mins 1
only_if { node['system']['auto_reboot'] == true }
end