summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-03 14:27:52 -0400
committerMicah Anderson <micah@riseup.net>2013-04-03 14:27:52 -0400
commit74fe8e6a586bec3b04a7b51beb4ed2f8fbc27e03 (patch)
tree134fddead133ab7442afbcc8a6cba624ddb6a488
parentb53d574250598178af298c59be957693eaaddb22 (diff)
fix accidentally removed cluster parameter
-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 {