summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2016-06-14 10:42:04 -0400
committerMicah Anderson <micah@riseup.net>2016-06-14 10:42:04 -0400
commit4056d79a2e07b7178cbbdb1576aa6f5ccd1d9e83 (patch)
treeb931f55ac3512bd472ec78813da0126ed8063e05 /manifests/debian.pp
parent008777bd9837c87a8f501f36dbf2bd4f79c8c868 (diff)
Ensure ordering for package, service and defaults
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index bde1e21..1135b98 100644
--- a/manifests/debian.pp
+++ b/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,