attribute :protocol, :kind_of => String
attribute :ports, :kind_of => Array, :default => []
attribute :maxretry, :kind_of => Integer
+attribute :ignoreips, :kind_of => Array
def after_created
- if node[:lsb][:release].to_f >= 14.04
- notifies :reload, "service[fail2ban]"
- else
- notifies :create, "template[/etc/fail2ban/jail.local]"
- end
+ notifies :reload, "service[fail2ban]"
end