]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/cleanup.rb
Add ulimit increase documentation to CONTRIBUTING.md
[chef.git] / cookbooks / web / recipes / cleanup.rb
index 7c3240152b779e079280a6d87f6ad7a15417d4bf..9ce886114de825b4595793e3d3d60c23d247b879 100644 (file)
 
 include_recipe "web::base"
 
-ruby = "ruby#{node[:passenger][:ruby_version]}"
+ruby = "ruby#{node[:ruby][:version]}"
 rails_directory = "#{node[:web][:base_directory]}/rails"
 
 template "/etc/cron.daily/web-cleanup" do
   source "cleanup.cron.erb"
   owner "root"
   group "root"
-  mode 0o755
+  mode "755"
   variables :ruby => ruby, :directory => rails_directory
 end