diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2017-11-08 15:05:54 +0100 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2017-11-08 15:05:54 +0100 |
| commit | 543fb89f5b94402a3fdb62f27832cfe1f9f1842e (patch) | |
| tree | d521621ed814047875833ea189a9532e4c2560fb /src | |
| parent | 4ca0abf731035fbb8c9aa20210ca3b3fda79958f (diff) | |
Fail2Ban: put local settings in .local files (API change)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Fail2Ban.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Fail2Ban.hs b/src/Propellor/Property/Fail2Ban.hs index e44d449b..ca62fe62 100644 --- a/src/Propellor/Property/Fail2Ban.hs +++ b/src/Propellor/Property/Fail2Ban.hs @@ -43,10 +43,10 @@ jailConfigured name key value = jailConfFile name `containsIniSetting` (name, key, value) jailConfFile :: Jail -> FilePath -jailConfFile name = "/etc/fail2ban/jail.d/" ++ name ++ ".conf" +jailConfFile name = "/etc/fail2ban/jail.d/" ++ name ++ ".local" filterConfFile :: Filter -> FilePath -filterConfFile name = "/etc/fail2ban/filter.d/" ++ name ++ ".conf" +filterConfFile name = "/etc/fail2ban/filter.d/" ++ name ++ ".local" actionConfFile :: Action -> FilePath -actionConfFile name = "/etc/fail2ban/action.d/" ++ name ++ ".conf" +actionConfFile name = "/etc/fail2ban/action.d/" ++ name ++ ".local" |
