]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/report.rb.erb
Use ruby cookbook to install ruby for prometheus
[chef.git] / cookbooks / chef / templates / default / report.rb.erb
index 20e32ef4fccea228512250a50e68e2aaaf29e1a8..4265d0660cb18412a5070ee8ee44152cb024210f 100644 (file)
@@ -31,6 +31,10 @@ class Chef
 
         require "mail"
 
 
         require "mail"
 
+        Mail.defaults do
+          delivery_method :exim, :location => "/usr/sbin/exim"
+        end
+
         Mail.deliver do
           to to_address
           from from_address
         Mail.deliver do
           to to_address
           from from_address