]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/recipes/default.rb
Yet more rubucop cleanups
[chef.git] / cookbooks / fail2ban / recipes / default.rb
index 3b1752a988c3b61566fed4a46a3e7423a9b10cbc..0fdc6c9feee6af3d45675884d9e9316acfea8085 100644 (file)
@@ -24,10 +24,11 @@ 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