From: Tom Hughes Date: Thu, 18 Nov 2021 19:05:34 +0000 (+0000) Subject: Get rid of some unnecessary templates X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/840e3ddca26f9a7f11dc94daaee4dc4b6df0cdf0?ds=sidebyside Get rid of some unnecessary templates --- diff --git a/cookbooks/planet/templates/default/replicate-cleanup.erb b/cookbooks/planet/files/default/replication-bin/replicate-cleanup old mode 100644 new mode 100755 similarity index 100% rename from cookbooks/planet/templates/default/replicate-cleanup.erb rename to cookbooks/planet/files/default/replication-bin/replicate-cleanup diff --git a/cookbooks/planet/templates/default/replicate-minute.erb b/cookbooks/planet/files/default/replication-bin/replicate-minute old mode 100644 new mode 100755 similarity index 100% rename from cookbooks/planet/templates/default/replicate-minute.erb rename to cookbooks/planet/files/default/replication-bin/replicate-minute diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index b59e0bf0c..5c07ae231 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -74,20 +74,6 @@ remote_directory "/usr/local/bin" do files_mode "755" end -template "/usr/local/bin/replicate-minute" do - source "replicate-minute.erb" - owner "root" - group "root" - mode "755" -end - -template "/usr/local/bin/replicate-cleanup" do - source "replicate-cleanup.erb" - owner "root" - group "root" - mode "755" -end - template "/usr/local/bin/users-agreed" do source "users-agreed.erb" owner "root"