From 6080f71be080860a20cf31cf491296ccbef7adb1 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Fri, 17 Apr 2015 12:09:17 -0400 Subject: incorporate changes from lelutin (#4285) --- manifests/centos.pp | 2 +- manifests/debian.pp | 4 ++-- manifests/service.pp | 2 +- 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'; } -- cgit v1.2.3