summaryrefslogtreecommitdiff
path: root/puppet/modules/stunnel/manifests/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/stunnel/manifests/debian.pp')
-rw-r--r--puppet/modules/stunnel/manifests/debian.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/puppet/modules/stunnel/manifests/debian.pp b/puppet/modules/stunnel/manifests/debian.pp
index bde1e219..1135b98d 100644
--- a/puppet/modules/stunnel/manifests/debian.pp
+++ b/puppet/modules/stunnel/manifests/debian.pp
@@ -5,13 +5,15 @@ class stunnel::debian inherits stunnel::linux {
}
Service['stunnel'] {
- name => 'stunnel4',
- pattern => '/usr/bin/stunnel4',
+ name => 'stunnel4',
+ pattern => '/usr/bin/stunnel4',
+ subscribe => File['/etc/default/stunnel4'],
+ require => Package['stunnel4']
}
file { '/etc/default/stunnel4':
content => template('stunnel/Debian/default'),
- require => Package['stunnel4'],
+ before => Package['stunnel4'],
notify => Service['stunnel4'],
owner => root,
group => 0,