itamae/cookbooks/consul/monitoring.rb

10 lines
192 B
Ruby
Raw Normal View History

%w(reboot-required).each do |conf|
2019-03-03 08:50:49 +00:00
remote_file "/etc/consul.d/check-#{conf}.json" do
owner 'root'
group 'root'
mode '644'
notifies :restart, 'service[supervisor]'
end
end