fix merge conflict error causing the $cluster parameter to go missing
authorMicah Anderson <micah@riseup.net>
Wed, 3 Apr 2013 19:01:44 +0000 (15:01 -0400)
committerMicah Anderson <micah@riseup.net>
Wed, 3 Apr 2013 19:01:44 +0000 (15:01 -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 a08fb0a..872e5f2 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 {