[Puppet Users] Re: puppet healthcheck

2013-09-16 Thread redalert . commander
Hi, I worked around the problem, the solution is documented at [1], not written by me. Basically I use a bash script with curl in combination with xinetd and the loadbalancer allows to specify a different port for the health check. Best regards, Steven [1]

[Puppet Users] puppet healthcheck

2013-09-12 Thread redalert . commander
Hi, I want to put a loadbalancer in front of puppet, this LB includes a healtcheck so it knows not to send requests to a server that is down. However the use of client certificates and pson make that a bit difficult, I should get puppet to return a 200 status message. I already changed

[Puppet Users] Re: Replace file based on content

2013-08-16 Thread redalert . commander
Hi John, Thanks for having a look. I already had the idea that there should be a better way, so I included the use case. I used stdlib to solve my issue, I'm still relatively new to Puppet, so I didn't know about this. Below your suggested options again with a little comment. Thanks again for

[Puppet Users] Replace file based on content

2013-08-14 Thread redalert . commander
Hi, I wanted to know if there is an easy way to replace a file in puppet (using the file directive) but only when a certain string exists. My use case: I have a package that installs a config file, I want to replace that file with puppet, but I in normal operation the application may also