diff options
author | Gary Larizza <gary@puppetlabs.com> | 2012-05-09 16:36:40 -0700 |
---|---|---|
committer | Gary Larizza <gary@puppetlabs.com> | 2012-05-09 16:36:40 -0700 |
commit | 01d46be262154b76ffd794fadf0d43deeb425fa6 (patch) | |
tree | a5c783663170ce6785f0f9c98207b80036cf64c8 /manifests/config.pp | |
parent | 98aaa48b6759c05a9e7bb1cab3d6f178658bc450 (diff) |
Use array in config class default
Previously, I was using the option parameter twice in the default
setting for haproxy::config. This commit changes that to passing an
array to the option parameter (and fixes the example).
Diffstat (limited to 'manifests/config.pp')
-rw-r--r-- | manifests/config.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index 55b40d7..fba4f33 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -51,7 +51,7 @@ # virtual_ip => $::ipaddress, # virtual_ip_port => '18140', # mode => 'tcp', -# haproxy_config_options => {'option' => 'tcplog', 'option' => 'ssl-hello-chk', 'balance' => 'roundrobin'}, +# haproxy_config_options => {'option' => ['tcplog', 'ssl-hello-chk'], 'balance' => 'roundrobin'}, # } # # === Authors @@ -63,7 +63,7 @@ define haproxy::config ( $order = '20', $virtual_ip = $::ipaddress, $mode = 'tcp', - $haproxy_config_options = {'option' => 'tcplog', 'option' => 'ssl-hello-chk', 'balance' => 'roundrobin'}, + $haproxy_config_options = {'option' => ['tcplog', 'ssl-hello-chk'], 'balance' => 'roundrobin'}, ) { concat::fragment { "${name}_config_block": order => $order, |