itamae/cookbooks/base/ntp.rb

14 lines
170 B
Ruby
Raw Normal View History

2020-10-10 07:02:05 +00:00
package 'ntp'
2019-03-03 08:50:49 +00:00
2020-10-10 07:02:05 +00:00
remote_file '/etc/ntp.conf' do
owner 'root'
group 'root'
mode '644'
2019-03-03 08:50:49 +00:00
2020-10-10 07:02:05 +00:00
notifies :restart, 'service[ntp]'
end
2019-03-03 08:50:49 +00:00
2020-10-10 07:02:05 +00:00
service 'ntp' do
action :nothing
2019-03-03 08:50:49 +00:00
end