]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/recipes/master.rb
Make replication delay monitoring more reliable
[chef.git] / cookbooks / db / recipes / master.rb
index 9b5a0ab5fafa63c671fff61e24a5311336f99cda..3fcdd7f15d1d92aaea00d82bd8af375ca8ef24d8 100644 (file)
@@ -83,9 +83,6 @@ postgresql_extension "btree_gist" do
   only_if { node[:postgresql][:clusters][node[:db][:cluster]] && node[:postgresql][:clusters][node[:db][:cluster]][:version] >= 9.0 }
 end
 
-template "/etc/cron.daily/rails-db" do
-  source "cron.erb"
-  owner "root"
-  group "root"
-  mode 0o755
+file "/etc/cron.daily/rails-db" do
+  action :delete
 end