X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..35fab8a036e32f87e2ea96de0502b903a1c978e1:/cookbooks/web/recipes/cleanup.rb diff --git a/cookbooks/web/recipes/cleanup.rb b/cookbooks/web/recipes/cleanup.rb index 7c3240152..9ce886114 100644 --- a/cookbooks/web/recipes/cleanup.rb +++ b/cookbooks/web/recipes/cleanup.rb @@ -19,13 +19,13 @@ 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