X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/229bfd4d1ef647515f13b6e8e064a957881f2ca7..51096343cee85550cd197da1f8354f8407506af5:/cookbooks/dev/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 62eac34c4..bca846b22 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -134,7 +134,6 @@ if node[:postgresql][:clusters][:"9.1/main"] end node[:dev][:rails].each do |name, details| - ruby node[:passenger][:ruby_version] database_name = details[:database] || "apis_#{name}" site_name = "#{name}.apis.dev.openstreetmap.org" rails_directory = "/srv/#{name}.apis.dev.openstreetmap.org" @@ -175,7 +174,7 @@ if node[:postgresql][:clusters][:"9.1/main"] group "apis" mode 0644 variables :site => site_name - notifies :touch, "file[#{rails_directory}/tmp/restart.txt]" + notifies :run, "execute[#{rails_directory}]" end apache_site site_name do