From c3d3f81b98542b94a013440c81b0942c9c4a82cf Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 3 Apr 2013 14:58:29 -0400 Subject: set an empty default for the $default_extra parameter --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index f7f72b8..a08fb0a 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 = '' ) { case $::operatingsystem { -- cgit v1.2.3 From d7acd567ace308049848733d8f1c801b955974a8 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 3 Apr 2013 15:01:44 -0400 Subject: fix merge conflict error causing the $cluster parameter to go missing --- manifests/centos.pp | 2 +- manifests/init.pp | 2 +- 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 a08fb0a..872e5f2 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 { -- cgit v1.2.3 From 1e6fbdf7f1f7e381ef01170eab96727377abe3b6 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 3 Apr 2013 15:02:16 -0400 Subject: format the class variables --- manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 872e5f2..a176bf8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,7 +17,11 @@ # TODO: warn on cert/key issues, fail on false accept? -class stunnel ( $ensure_version = 'present', $startboot = '1', $default_extra = '', $cluster = '' ) +class stunnel ( + $ensure_version = 'present', + $startboot = '1', + $default_extra = '', + $cluster = '' ) { case $::operatingsystem { -- cgit v1.2.3