[Puppet Users] PuppetDB curl and puppetdbquery tentative to filter nodes on an array type parameter including a value

2014-10-15 Thread Baptiste Grenier
Hello puppeters, I have check_mk::host resource exported by my nodes, and this resources contain a host_tags parameter that is an array. I am trying to query PuppetDB to filer my nodes to retrieve all the nodes exporting this Check_mk::Host resources containing a specific value (nat) in the host_

Re: [Puppet Users] Re: chaining of create_resources

2014-04-09 Thread Baptiste Grenier
Le 09/04/14 à 15:15, jcbollinger téléscripta : > Other reports suggest so, but there are other possibilities, such as the > graph not going with the version of the manifests and/or data presented. That's why I provided a complete vagrant project allowing to easily and confidently test such things

Re: [Puppet Users] Re: Unable to define order of modules

2011-11-07 Thread Baptiste Grenier
Hello, Le 07/11/11 à 15:30, jcbollinger téléscripta : > For the record, that is not an implementation of my recommendation. > It is not safe for class sudo::apdater to include that new class, > except in the most technical of senses. Indeed. > The point is to have a source of truth separate from

Re: [Puppet Users] Re: Unable to define order of modules

2011-11-04 Thread Baptiste Grenier
Hello, Le 03/11/11 à 15:45, jcbollinger téléscripta : > On Nov 2, 9:57 am, Baptiste Grenier wrote: > > Le 31/10/11 16:09, jcbollinger t l scripta : > > > On Oct 28, 10:07 am, Baptiste Grenier > > > wrote: > > > You have an evaluation order problem, an

Re: [Puppet Users] Re: Unable to define order of modules

2011-11-02 Thread Baptiste Grenier
Hello, Le 31/10/11 à 16:09, jcbollinger téléscripta : > On Oct 28, 10:07 am, Baptiste Grenier > wrote: > > > I am trying to define the modules' run order like this: > > You are running up against a common source of confusion: the > difference between order of manif

[Puppet Users] Unable to define order of modules

2011-10-29 Thread Baptiste Grenier
Hello, I am trying to define the modules' run order like this: --8< ... % cat test.pp class baseclass { include sudo } class sudo { file { '/tmp/sudoers': ensure => 'present', content => template('/tmp/sudoers.erb'), } notify {

[Puppet Users] Exporting variables between manifests/nodes

2011-10-26 Thread Baptiste Grenier
Hello, Here is what I am trying to do: - in a class aptdater::client I want to export the $fqdn - in a class aptdater::master I want to retrieve all the exported $fqdn to fill an erb template of a configuration file Here is what I tried: # modules/aptdater/manifests/init.pp class aptdater { #