]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
Use all frontends for processing rails message mail
[chef.git] / roles / web-frontend.rb
index 264f2a4d2634b91d49f1c9aa9cc11e8d78c7bf09..7ef592fcbc952025a326e02e39e427557a8ad26d 100644 (file)
@@ -33,14 +33,12 @@ default_attributes(
       :messages => {
         :comment => "messages.openstreetmap.org",
         :domains => ["messages.openstreetmap.org"],
-        :command => "/usr/local/bin/passenger-ruby /srv/www.openstreetmap.org/rails/script/deliver-message $local_part",
+        :command => "/usr/local/bin/deliver-message $local_part",
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
         :path => "/bin:/usr/bin:/usr/local/bin",
-        :environment => {
-          "RAILS_ENV" => "production"
-        }
+        :case_sensitive => true
       }
     }
   }