[Puppet Users] How to comment multiple lines on configurations file

2016-11-21 Thread Amber Mehra
Hey Guys, I need to comment multiple lines on some configuration files, Please let me know how to accomplish this task using puppet manifest? Best -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiv

Re: [Puppet Users] Role vs hiera

2016-11-21 Thread Matt Zagrabelny
On Sat, Nov 19, 2016 at 2:27 PM, Martijn wrote: > Op dinsdag 18 oktober 2016 21:50:37 UTC+2 schreef Matt Zagrabelny: >> >> >> If you use an ENC, then you can return the role as a top scope >> variable and your hiera configs can leverage those top scope >> variables. >> > >> >> Let me know if you w

[Puppet Users] Module hiera, lookup() and deep merge

2016-11-21 Thread Nelo-Thara Wallus
Hello everybody, I'm currently writing an openssh module in puppet 4 and wanted to utilize the module hiera to define the defaults instead of supplying them directly. E.g. the openssh::server resource sets the parameter $options to the deep merged value of a deep-merge lookup of `openssh::server`

Re: [Puppet Users] Module hiera, lookup() and deep merge

2016-11-21 Thread Francois Lafont
Hi, On 11/21/2016 09:59 PM, Nelo-Thara Wallus wrote: > I'm currently writing an openssh module in puppet 4 and wanted to > utilize the module hiera to define the defaults instead of supplying > them directly. I suppose it's not "module hiera" but "provider hiera". ;) > Now, when supplying the d

Re: [Puppet Users] Dynamically adding app servers behind web server

2016-11-21 Thread Richard Gray
On 11/19/2016 08:30 AM, Ryan Murphy wrote: I've looked at exported resources, but I'm just not sure how to use them to do what I want to accomplish. The puppetlabs/haproxy[1][2] module might be of interest to you. It uses that approach to allow dynamic management of HAProxy proxy backend memb