]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/recipes/default.rb
planet: add message to correct header
[chef.git] / cookbooks / fail2ban / recipes / default.rb
index e8baa59ac75329dab4065b0e69f14ceb8ec8c1ee..a002fe13196fc2ff4debb663dd25392a4f30a57a 100644 (file)
@@ -24,12 +24,11 @@ template "/etc/fail2ban/jail.d/00-default.conf" do
   owner "root"
   group "root"
   mode 0o644
   owner "root"
   group "root"
   mode 0o644
-  notifies :reload, "service[fail2ban]"
+  notifies :restart, "service[fail2ban]"
 end
 
 service "fail2ban" do
   action [:enable, :start]
 end
 
 service "fail2ban" do
   action [:enable, :start]
-  supports :status => true, :reload => true, :restart => true
 end
 
 munin_plugin "fail2ban"
 end
 
 munin_plugin "fail2ban"