From 40dc371f62396d5d11ccbc56b2e4e63e06cda5a5 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 11 Jul 2018 10:46:23 +0200 Subject: 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. --- manifests/service.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests/service.pp') 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=', + } } } } -- cgit v1.2.3