X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..5fde77fb90280da2c008bb5e8e83f6635b999715:/cookbooks/web/recipes/cleanup.rb?ds=sidebyside 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