]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/recipes/default.rb
Configure authentication for Facebook and Windows Live
[chef.git] / cookbooks / fail2ban / recipes / default.rb
index 3b1752a988c3b61566fed4a46a3e7423a9b10cbc..b06ea2a452d2ba2f213a92e632c0d6bbe5370474 100644 (file)
@@ -24,10 +24,13 @@ template "/etc/fail2ban/jail.local" do
   owner "root"
   group "root"
   mode 0644
+  variables :jails => []
 end
 
 service "fail2ban" do
-  action [ :enable, :start ]
+  action [:enable, :start]
   supports :status => true, :reload => true, :restart => true
   subscribes :reload, "template[/etc/fail2ban/jail.local]"
 end
+
+munin_plugin "fail2ban"