]> git.openstreetmap.org Git - chef.git/commitdiff
Make users-agreed a template
authorTom Hughes <tom@compton.nu>
Sat, 21 May 2016 09:01:22 +0000 (10:01 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 21 May 2016 09:01:22 +0000 (10:01 +0100)
cookbooks/planet/recipes/replication.rb
cookbooks/planet/templates/default/users-agreed.erb [moved from cookbooks/planet/files/default/replication-bin/users-agreed with 100% similarity]

index fef4e017ed51235b09ff1228b2e9a12a578649db..adb9bb7e1b1aad0e4e7165630b5a72798757c2bc 100644 (file)
@@ -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"