diff options
author | Tim Meusel <tim@bastelfreak.de> | 2018-07-11 10:46:23 +0200 |
---|---|---|
committer | Tim Meusel <tim@bastelfreak.de> | 2018-07-11 10:46:23 +0200 |
commit | 40dc371f62396d5d11ccbc56b2e4e63e06cda5a5 (patch) | |
tree | 5493cbd1b925b759a5d324a0a5719bdf78a1db5f /manifests/service.pp | |
parent | 9cdfcfdc397410dc1fe48641ace5fcf47e123085 (diff) | |
download | puppet-ferm-40dc371f62396d5d11ccbc56b2e4e63e06cda5a5.tar.gz puppet-ferm-40dc371f62396d5d11ccbc56b2e4e63e06cda5a5.tar.bz2 |
disable rule caching on ubuntu
Fixes #16. Ubuntu caches rules. This doesn't allow us to reload the
daemon and to apply new rules. Also this is a ubuntu only feature, it
works well on all other platforms without cache.
Diffstat (limited to 'manifests/service.pp')
-rw-r--r-- | manifests/service.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/service.pp b/manifests/service.pp index ddc6129..f19997f 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -18,6 +18,11 @@ class ferm::service { line => 'ENABLED="yes"', match => 'ENABLED=', } + file_line{'disable_ferm_cache': + path => '/etc/default/ferm', + line => 'CACHE="no"', + match => 'CACHE=', + } } } } |