Bring some more bits of the planet server under chef control
[chef.git] / cookbooks / planet / recipes / default.rb
index d9db270dbcbeac72eb9fd7cf93d7c8b2d2486840..5cfdf541691f1654e34b45ef0757c9108c7dce62 100644 (file)
 
 include_recipe "apache::ssl"
 
+package "perl"
+package "php5-cli"
+
+remote_directory "/usr/local/bin" do
+  source "bin"
+  owner "root"
+  group "root"
+  mode 0755
+  files_owner "root"
+  files_group "root"
+  files_mode 0755
+end
+
+template "/etc/cron.d/planet" do
+  source "cron.erb"
+  owner "root"
+  group "root"
+  mode 0644
+end
+
 apache_module "rewrite" do
   conf "rewrite.conf.erb"
 end