summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';
}