summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2015-04-17 12:09:17 -0400
committerMicah Anderson <micah@riseup.net>2015-04-17 12:10:37 -0400
commit6080f71be080860a20cf31cf491296ccbef7adb1 (patch)
tree93244bb56125cd15e383e0b25f84ff1737ea33b7
parent32766d984af07b039b176c30357765a7b48bfa6a (diff)
incorporate changes from lelutin (#4285)
-rw-r--r--manifests/centos.pp2
-rw-r--r--manifests/debian.pp4
-rw-r--r--manifests/service.pp2
3 files changed, 4 insertions, 4 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index b9a326a..3b0a6e2 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -18,7 +18,7 @@ class stunnel::centos inherits stunnel::linux {
Service['stunnel']{
hasstatus => true,
- require => [ User['stunnel'], File['/etc/init.d/stunnel'] ]
+ require => [ User['stunnel'], File['/etc/init.d/stunnel'] ]
}
file { '/etc/stunnel/stunnel.conf':
diff --git a/manifests/debian.pp b/manifests/debian.pp
index eb4d57a..bde1e21 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,10 +1,10 @@
class stunnel::debian inherits stunnel::linux {
- Package[stunnel] {
+ Package['stunnel'] {
name => 'stunnel4',
}
- Service[stunnel] {
+ Service['stunnel'] {
name => 'stunnel4',
pattern => '/usr/bin/stunnel4',
}
diff --git a/manifests/service.pp b/manifests/service.pp
index fe36c2f..421f496 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -66,7 +66,7 @@ define stunnel::service (
content => template('stunnel/service.conf.erb'),
require => Package['stunnel'],
notify => Exec['refresh_stunnel'],
- owner => root,
+ owner => 'root',
group => 0,
mode => '0600';
}