fix accidentally removed cluster parameter
authorMicah Anderson <micah@riseup.net>
Wed, 3 Apr 2013 18:27:52 +0000 (14:27 -0400)
committerMicah Anderson <micah@riseup.net>
Wed, 3 Apr 2013 18:27:52 +0000 (14:27 -0400)
manifests/centos.pp
manifests/init.pp

index 39f18c7..19a4684 100644 (file)
@@ -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'],
index f7f72b8..b2018a5 100644 (file)
@@ -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 {