# file managed by puppet
<% if reboot_schedule == "daily" %>
0 <%= reboot_hour %> 	* * * 	root	/usr/local/sbin/reboot_new_kernel -y <%= kernel_package %>
<% elsif reboot_schedule == "weekly" %>
0 <%= reboot_hour %> 	* * <%= reboot_dow %> 	root	/usr/local/sbin/reboot_new_kernel -y <%= kernel_package %>
<% elsif reboot_schedule == "monthly" %>
0 <%= reboot_hour %> 	<%= reboot_dom %> * * 	root	/usr/local/sbin/reboot_new_kernel -y <%= kernel_package %>
<% else %>
# invalid reboot_schedule
<% end %>
