]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
imagery: fix cdn url
[chef.git] / roles / web-frontend.rb
index 5010e555dfaca959e8f53074231ada3efc929659..3ecca30ff085b385f7782e3be0dabf4b13b9fd81 100644 (file)
@@ -34,7 +34,10 @@ default_attributes(
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
-        :path => "/bin:/usr/bin:/usr/local/bin"
+        :path => "/bin:/usr/bin:/usr/local/bin",
+        :environment => {
+          "RAILS_ENV" => "production"
+        }
       }
     }
   }
       }
     }
   }