summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/centos.pp2
-rw-r--r--manifests/init.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 39f18c7..19a4684 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -23,7 +23,7 @@ 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::cluster}/stunnel.conf",
'puppet:///modules/site-stunnel/stunnel.conf',
'puppet:///modules/stunnel/${::operatingsystem}/stunnel.conf' ],
require => Package['stunnel'],
diff --git a/manifests/init.pp b/manifests/init.pp
index f7f72b8..b2018a5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -17,7 +17,7 @@
# TODO: warn on cert/key issues, fail on false accept?
-class stunnel ( $ensure_version = 'present', $startboot = '1', $default_extra )
+class stunnel ( $ensure_version = 'present', $startboot = '1', $default_extra, $cluster = '' )
{
case $::operatingsystem {