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. --- spec/classes/ferm_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/classes') diff --git a/spec/classes/ferm_spec.rb b/spec/classes/ferm_spec.rb index dbf9cbd..0312adc 100644 --- a/spec/classes/ferm_spec.rb +++ b/spec/classes/ferm_spec.rb @@ -33,6 +33,7 @@ describe 'ferm' do it { is_expected.to contain_service('ferm') } if facts[:os]['name'] == "Ubuntu" it { is_expected.to contain_file_line('enable_ferm') } + it { is_expected.to contain_file_line('disable_ferm_cache') } end end context 'with managed configfile' do -- cgit v1.2.3