]> git.openstreetmap.org Git - chef.git/commitdiff
Fix delivery method configuration for chef reports
authorTom Hughes <tom@compton.nu>
Fri, 1 May 2020 08:35:50 +0000 (09:35 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 1 May 2020 08:35:50 +0000 (09:35 +0100)
cookbooks/chef/templates/default/report.rb.erb

index d00a498a6d54b2b2bfe580999c128abc1447a42a..4265d0660cb18412a5070ee8ee44152cb024210f 100644 (file)
@@ -32,7 +32,7 @@ class Chef
         require "mail"
 
         Mail.defaults do
         require "mail"
 
         Mail.defaults do
-          mail.delivery_method :exim, :location => "/usr/sbin/exim"
+          delivery_method :exim, :location => "/usr/sbin/exim"
         end
 
         Mail.deliver do
         end
 
         Mail.deliver do