On Sat, Feb 28, 2015 at 2:25 PM, Dan White <d_e_wh...@icloud.com> wrote:

> $new_hash = {
>   'log' => "${log_ip} local0",
> }
>
> $global_options = merge ( $haproxy::params::global_options, $new_hash )
>

Thanks, Dan!  I'll do that while I wait for Puppet 4.0 (or when I can use
the future parser).

On Sun, Mar 1, 2015 at 6:37 PM, Henrik Lindberg <
henrik.lindb...@cloudsmith.com> wrote:

> In Puppet 4.0 (and in 3x with parser=future) you can do this (i.e. merge a
> hash) directly in the Puppet Language:
>
> $global_options = $haproxy::params::global_options + {
>     'log' => "{log_ip} local0"
>   }
>

Henrik, that's great!  I look forward to that addition to Puppet!

Tom
-- 
Email: t...@whatexit.org    Work: tlimonce...@stackoverflow.com
Skype: YesThatTom
Blog:  http://EverythingSysadmin.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAHVFxgmDJ1RntWGY4TVwMZRS5apfAGGf%2BkTxkGQPWQpjWmKNVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to