X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0751a4f9434ce69a40996fbec967501fe43e4f83..4ed87e86c638523d093bc97b32715c4c6a41a70d:/cookbooks/web/recipes/statistics.rb diff --git a/cookbooks/web/recipes/statistics.rb b/cookbooks/web/recipes/statistics.rb index f725e108b..29ee80e6c 100644 --- a/cookbooks/web/recipes/statistics.rb +++ b/cookbooks/web/recipes/statistics.rb @@ -19,14 +19,14 @@ include_recipe "web::base" -ruby = "ruby#{node[:passenger][:ruby_version]}" +ruby = "ruby#{node[:ruby][:version]}" rails_directory = "#{node[:web][:base_directory]}/rails" template "/usr/local/bin/statistics" do source "statistics.erb" owner "root" group "root" - mode 0o755 + mode "755" variables :ruby => ruby, :directory => rails_directory end