]> git.openstreetmap.org Git - chef.git/commitdiff
Add /usr/local/bin to PATH when delivering messages for svgo
authorTom Hughes <tom@compton.nu>
Thu, 17 Sep 2015 14:57:24 +0000 (15:57 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 17 Sep 2015 14:57:24 +0000 (15:57 +0100)
cookbooks/exim/templates/default/exim4.conf.erb
roles/web-frontend.rb

index f81fe50512a178eb54dcc53d59d19ad65fef2567..e73ad857df9497b6abd14343ec6b3932c7376e62 100644 (file)
@@ -703,6 +703,7 @@ noreply:
   driver = pipe
   command = <%= details[:command] %>
   home_directory = <%= details[:home_directory] %>
+  path = <%= details[:path] || "/bin:/usr/bin" %>
   return_output
 <% else -%>
   driver = appendfile
index e228e0efc43bbebd1c6800e708b74bd261dd8262..974ef3b803e2650dd64fd3472ce43ef15f29828c 100644 (file)
@@ -34,7 +34,8 @@ default_attributes(
         :command => "/srv/www.openstreetmap.org/rails/script/deliver-message $local_part",
         :user => "rails",
         :group => "rails",
-        :home_directory => "/srv/www.openstreetmap.org/rails"
+        :home_directory => "/srv/www.openstreetmap.org/rails",
+        :path => "/bin:/usr/bin:/usr/local/bin"
       }
     }
   }