[Puppet Users] Dynamically adding app servers behind web server

2016-11-18 Thread Ryan Murphy
We have an application that we use for document conversion. It has a web server and can have any number of app servers sitting behind it. The webserver has one configuration file with a parameter that states what app servers it should be contacting. Is there a way in Puppet that I could dynami

Re: [Puppet Users] Hiera changes on specific node

2016-11-18 Thread Dirk Heinrichs
Am 18.11.2016 um 12:56 schrieb Amber Mehra: > Please advise what to write on hiera so i can push custom > configuration of httpd.conf on specific node only. That depends on your setup. In general, say you have the following class definition: class foo ($bar = undef) {} and your hierarchy in hi

[Puppet Users] Could not create resource file resources.txt: incompatible character encodings

2016-11-18 Thread Angel L. Mateo
Hello, I'm programming my own custom type. It is at https://github.com/amateo/puppet-omd/blob/feature/TLM-4087/lib/puppet/type/thruk_bp.rb and is mainly copied from concat provided in puppetlabs/concat. My problem with this type is that it creates a file from a json and some parameters mus

[Puppet Users] Hiera changes on specific node

2016-11-18 Thread Amber Mehra
Hi Guys, I need your advise on Puppet Hiera, I already have apache puppet module and it seems working fine, I want to do customize httpd.conf on specific node by puppet hiera, If i make changes on puppet module it will affect to all node that i don't want. Please advise what to write on hiera