summaryrefslogtreecommitdiffstats
path: root/modules/fail2ban
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-02-19 02:38:14 -0500
committerJesse Luehrs <doy@tozt.net>2019-02-19 02:38:14 -0500
commit9b27c113f3bcae4d1d1b67c25f2b0e3f6f2954c3 (patch)
treee5be3e5aacfa4a47fcb1744a1be5b44e962d4cac /modules/fail2ban
parent66bdc0aa2a29678f7628270ca50a1ce8fcd205fb (diff)
downloadpuppet-tozt-9b27c113f3bcae4d1d1b67c25f2b0e3f6f2954c3.tar.gz
puppet-tozt-9b27c113f3bcae4d1d1b67c25f2b0e3f6f2954c3.zip
updates to fail2ban jails should bounce the service
Diffstat (limited to 'modules/fail2ban')
-rw-r--r--modules/fail2ban/manifests/jail.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/fail2ban/manifests/jail.pp b/modules/fail2ban/manifests/jail.pp
index 4e4ece3..7e8083e 100644
--- a/modules/fail2ban/manifests/jail.pp
+++ b/modules/fail2ban/manifests/jail.pp
@@ -8,6 +8,7 @@ define fail2ban::jail($source=undef) {
file { "/etc/fail2ban/jail.d/${name}.conf":
source => $_source,
- require => Package["fail2ban"];
+ require => Package["fail2ban"],
+ notify => Service["fail2ban"];
}
}