chef-lctp/site-cookbooks/ntp/recipes/default.rb

15 lines
208 B
Ruby
Raw Normal View History

2014-01-19 14:34:01 +00:00
include_recipe "apt"
package 'ntp'
template "/etc/ntp.conf" do
owner "root"
group "root"
source "ntp.conf.erb"
2014-02-16 19:22:16 +00:00
notifies :restart, "service[ntp]"
end
service "ntp" do
action [:enable, :start]
2014-01-19 14:34:01 +00:00
end