From: Tom Hughes Date: Sat, 21 May 2016 09:01:22 +0000 (+0100) Subject: Make users-agreed a template X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ee2ccdb351eeaa09fde5a9667958cac94977fa0c?hp=6782e9d4eeaf925882a000a7423afa0633948213 Make users-agreed a template --- diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index fef4e017e..adb9bb7e1 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -40,6 +40,13 @@ remote_directory "/usr/local/bin" do files_mode 0755 end +template "/usr/local/bin/users-agreed" do + source "users-agreed.erb" + owner "root" + group "root" + mode 0755 +end + remote_directory "/store/planet/replication" do source "replication-cgi" owner "root" diff --git a/cookbooks/planet/files/default/replication-bin/users-agreed b/cookbooks/planet/templates/default/users-agreed.erb similarity index 100% rename from cookbooks/planet/files/default/replication-bin/users-agreed rename to cookbooks/planet/templates/default/users-agreed.erb