]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Add support for managing apache configuration fragments
[chef.git] / cookbooks / exim / recipes / default.rb
index 219629f592a997e3a14c04c863694732fb3a6b96..06bc08540733da1397f06e95ef333b39b54a4693 100644 (file)
@@ -78,7 +78,14 @@ template "/etc/exim4/exim4.conf" do
   mode 0644
   variables :relay_to_domains => relay_to_domains.sort,
             :relay_from_hosts => relay_from_hosts.sort
-  notifies :restart, resources(:service => "exim4")
+  notifies :restart, "service[exim4]"
+end
+
+template "/etc/exim4/callout_exempt_senders" do
+  source "callout_exempt_senders.erb"
+  owner "root"
+  group "Debian-exim"
+  mode 0644
 end
 
 search(:accounts, "*:*").each do |account|