summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-03-31 02:29:27 +0200
committermh <mh@immerda.ch>2010-03-31 02:29:27 +0200
commit96958b97d9a0f7bc42ca807171f629c608dcb075 (patch)
tree36679d9746bc9eeaa7fbce4a5750eec53a40056b /manifests
parent130c571a0c251582b0632c57790f7bb3fc6048b1 (diff)
some more centos work
Diffstat (limited to 'manifests')
-rw-r--r--manifests/centos.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 9cde0ec..c813bc4 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -1,15 +1,21 @@
class stunnel::centos inherits stunnel::base {
file{'/etc/init.d/stunnel':
- source => [ "puppet://$server/modules/stunnel/${fqdn}/stunnel.init",
+ source => "puppet://$server/modules/stunnel/${operatingsystem}/stunnel.init",
require => Package['stunnel'],
before => Service['stunnel'],
owner => root, group => 0, mode => 0600;
}
+ user::managed{ "stunnel":
+ homedir => "/var/run/stunnel",
+ shell => "/sbin/nologin",
+ uid => 105, gid => 105;
+ }
+
Service['stunnel']{
hasstatus => true,
- require => File['/etc/init.d/stunnel']
+ require => [ User['stunnel'], File['/etc/init.d/stunnel'] ]
}
file{'/etc/stunnel/stunnel.conf':