aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/service.pp14
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 9cc1373..e9eb369 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -17,14 +17,16 @@ class ferm::service {
# on Ubuntu, we can't start the service, unless we set ENABLED=true in /etc/default/ferm...
if ($facts['os']['name'] in ['Ubuntu', 'Debian']) {
file_line{'enable_ferm':
- path => '/etc/default/ferm',
- line => 'ENABLED="yes"',
- match => 'ENABLED=',
+ path => '/etc/default/ferm',
+ line => 'ENABLED="yes"',
+ match => 'ENABLED=',
+ notify => Service['ferm'],
}
file_line{'disable_ferm_cache':
- path => '/etc/default/ferm',
- line => 'CACHE="no"',
- match => 'CACHE=',
+ path => '/etc/default/ferm',
+ line => 'CACHE="no"',
+ match => 'CACHE=',
+ notify => Service['ferm'],
}
}
}