summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-08 13:17:55 -0300
committermh <mh@immerda.ch>2012-06-08 13:17:55 -0300
commited5c568a231420ac3b0d4e57c6876d23ee560d0f (patch)
treeca4fdee1aed7a473eb0c36cefd87b50709aac268 /manifests/centos.pp
parent03b51fcb718734f4b2ea76c038ffbe9b2b348b1a (diff)
refactor things for >2.7
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 1b971a3..14aac8f 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -1,7 +1,7 @@
class stunnel::centos inherits stunnel::linux {
file{'/etc/init.d/stunnel':
- source => "puppet:///modules/stunnel/${operatingsystem}/stunnel.init",
+ source => "puppet:///modules/stunnel/${::operatingsystem}/stunnel.init",
require => Package['stunnel'],
before => Service['stunnel'],
owner => root, group => 0, mode => 0755;
@@ -19,10 +19,10 @@ class stunnel::centos inherits stunnel::linux {
}
file{'/etc/stunnel/stunnel.conf':
- source => [ "puppet:///modules/site-stunnel/${fqdn}/stunnel.conf",
- "puppet:///modules/site-stunnel/${stunnel_cluster}/stunnel.conf",
- "puppet:///modules/site-stunnel/stunnel.conf",
- "puppet:///modules/stunnel/${operatingsystem}/stunnel.conf" ],
+ source => [ "puppet:///modules/site_stunnel/${::fqdn}/stunnel.conf",
+ "puppet:///modules/site_stunnel/${stunnel::cluster}/stunnel.conf",
+ "puppet:///modules/site_stunnel/stunnel.conf",
+ "puppet:///modules/stunnel/${::operatingsystem}/stunnel.conf" ],
require => Package['stunnel'],
notify => Service['stunnel'],
owner => root, group => 0, mode => 0600;