X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..027e6c6a30ad50302390f6ea56d3bbf7a49f4fdf:/cookbooks/db/recipes/master.rb?ds=sidebyside diff --git a/cookbooks/db/recipes/master.rb b/cookbooks/db/recipes/master.rb index 9b5a0ab5f..5e51ca030 100644 --- a/cookbooks/db/recipes/master.rb +++ b/cookbooks/db/recipes/master.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: db +# Cookbook:: db # Recipe:: master # -# Copyright 2011, OpenStreetMap Foundation +# Copyright:: 2011, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -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