aboutsummaryrefslogtreecommitdiff
path: root/spec/classes
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2018-07-11 10:46:23 +0200
committerTim Meusel <tim@bastelfreak.de>2018-07-11 10:46:23 +0200
commit40dc371f62396d5d11ccbc56b2e4e63e06cda5a5 (patch)
tree5493cbd1b925b759a5d324a0a5719bdf78a1db5f /spec/classes
parent9cdfcfdc397410dc1fe48641ace5fcf47e123085 (diff)
downloadpuppet-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 'spec/classes')
-rw-r--r--spec/classes/ferm_spec.rb1
1 files changed, 1 insertions, 0 deletions
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