X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..4ca0225b07ae137e1fc670596cfd1d81fedca1ca:/cookbooks/db/recipes/base.rb diff --git a/cookbooks/db/recipes/base.rb b/cookbooks/db/recipes/base.rb index 3f9920487..17dd43d11 100644 --- a/cookbooks/db/recipes/base.rb +++ b/cookbooks/db/recipes/base.rb @@ -29,10 +29,11 @@ end directory "/srv/www.openstreetmap.org" do group "rails" - mode 02775 + mode 0o2775 end rails_port "www.openstreetmap.org" do + ruby "2.1" directory "/srv/www.openstreetmap.org/rails" user "rails" group "rails" @@ -52,5 +53,5 @@ execute "/srv/www.openstreetmap.org/rails/db/functions/Makefile" do cwd "/srv/www.openstreetmap.org/rails/db/functions" user "rails" group "rails" - subscribes :run, resources(:git => "/srv/www.openstreetmap.org/rails") + subscribes :run, "git[/srv/www.openstreetmap.org/rails]" end