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 fef4e01..adb9bb7 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"