X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/2b2961718a325af20aa7de5df922907f39c350c4..c4b78405fd353d9d34ffd56593e14d40d21d1d5c:/cookbooks/fail2ban/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/fail2ban/recipes/default.rb b/cookbooks/fail2ban/recipes/default.rb index a002fe131..6213a3814 100644 --- a/cookbooks/fail2ban/recipes/default.rb +++ b/cookbooks/fail2ban/recipes/default.rb @@ -27,6 +27,14 @@ template "/etc/fail2ban/jail.d/00-default.conf" do notifies :restart, "service[fail2ban]" end +template "/etc/fail2ban/paths-overrides.local" do + source "paths-overrides.local.erb" + owner "root" + group "root" + mode 0o644 + notifies :restart, "service[fail2ban]" +end + service "fail2ban" do action [:enable, :start] end