[Puppet Users] Re: IS it possible to generate dynamically the configuration of a node ?

2016-03-03 Thread Martin Rodriguez
> > Thanks a lot for all your help !!! > Do you some websites that gives java examples ? -- 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+unsubsc

[Puppet Users] Usage of aws module from resource abstraction layer

2016-03-03 Thread Sergey Zemlyanoy
Hey folks, How you guys maintain your ec2 instances using aws module from command line? I intend to rely on RAL or mco to be able to provision instances on demand, without declaring them in puppet/hiera, but just take defaults from there. I want to let my build server to execute command like:

[Puppet Users] puppet.conf documentation

2016-03-03 Thread Matt Zagrabelny
Greetings, I know that the puppet.conf documentation exists in extreme detail: http://docs.puppetlabs.com/puppet/3.7/reference/configuration.html What that page doesn't tell me is if the config items map to the [agent] or [master] sections of the config file. Does anyone know if that data exist

Re: [Puppet Users] Module parameter handling

2016-03-03 Thread Henrik Lindberg
On 02/03/16 11:26, Thomas Bendler wrote: Hi @all, I write a module that create local users on my boxes. Now I try to make that module fully dynamic so that the user informations are passed to the module as parameter like this: class { 'local_users': user => [ { 'john' => { name => 'John

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Henrik Lindberg
On 03/03/16 17:46, Trevor Vaughan wrote: You can try using the hiera command line tool on your hiera.yaml file. hiera -c '/path/to/hiera.yaml' your::variable. If you are on a newer puppet version where the lookup command is available you can use 'puppet lookup --explain your::variable' as i

Re: [Puppet Users] Avoiding duplicate exported resource

2016-03-03 Thread Ken Barber
Exported resources won't handle any resource de-duplication. You can get around this by simply not using that to collect data, dalen's puppetdb-query will help with this, and in PDB 4.0 we're introducing a function for this purpose also into core. Once you have the data, then you can do anything wi

[Puppet Users] Avoiding duplicate exported resource

2016-03-03 Thread Daniel Urist
I've created a module to configure a caching nginx proxy. I am running several of these proxies behind a load balancer. They all proxy the same external address. I'd like to export a nagios host/service for monitoring the external address, which will then be collected on my nagios server. The probl

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
You can try using the hiera command line tool on your hiera.yaml file. hiera -c '/path/to/hiera.yaml' your::variable. You may also need to check your server logs to see if there is an error. If you're using the Java Pupperserver, you may want to restart it due to the change in environment cachin

Re: [Puppet Users] Turning off client bucket

2016-03-03 Thread thyrsus
Specific syntax: File { backup => false, } On Friday, September 24, 2010 at 12:35:31 PM UTC-4, Patrick Mohr wrote: > > It can be turned off in the file resource itself. That means you can do > it for all files if you default that value (assuming you don't override if > in a res

[Puppet Users] Re: IS it possible to generate dynamically the configuration of a node ?

2016-03-03 Thread jcbollinger
On Wednesday, March 2, 2016 at 4:18:48 PM UTC-6, Martin Rodriguez wrote: > > Hi, > > I'm new to puppet and a java developer. > > I'm looking for a way to force the puppet server to connect to my java app > to get the configuration of a node ? > > If it is possible, could you please give an examp

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Sans
Looks like to me it's not getting value from the Hiera at all. How can I make sure of that? -S On Thursday, March 3, 2016 at 1:28:51 PM UTC, Trevor Vaughan wrote: > > Hi Sam, > > Are you 100% sure that $wp_multisite is getting the value from Hiera? > > In this case, it looks like the value is e

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
Hi Sam, Are you 100% sure that $wp_multisite is getting the value from Hiera? In this case, it looks like the value is empty. Thanks, Trevor On Thu, Mar 3, 2016 at 5:23 AM, Sans wrote: > > Hi guys, > > Suddenly started getting this error, which I cannot understand why I'm > getting this: > >

[Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Sans
Hi guys, Suddenly started getting this error, which I cannot understand why I'm getting this: Error: Evaluation Error: Error while evaluating a Function Call, "" is not a boolean. It looks to be a String at /usr/local/K101/puppet/modules/apps/ manifests/app.pp:32:5 on node.. the line 32