Re: [Puppet Users] Report processor and available variables

2012-11-28 Thread Jean Baptiste Favre
Hello James, Yes, this help. I just felt confused that 'host' report variable represents in fact 'certname' value. That said, I'll have a look on PuppetDB, which I do not use for now. Thanks, Jean Baptiste On 11/26/12 5:43 AM, James Turnbull wrote: Jean Baptiste

[Puppet Users] Report processor and available variables

2012-11-23 Thread Jean Baptiste Favre
tname in "puppet world". I tried @hostname, but still get certname instead of hostname. Is there any way to get the real hostname into report processor ? Regards, Jean-Baptiste Favre -- You received this message because you are subscribed to the Google Groups "Puppet Users&quo

[Puppet Users] puppet 3 + hiera + "cross modules references"

2012-11-02 Thread Jean Baptiste Favre
Hello, I'm trying to figure out how I can use puppet 3 & hiera in an efficient way. Let's say that I've two classes: class foo ( $param ) { notify {"foo": message => "value is ${foo::param}"} } class bar ( $param ) { notify {"bar": message => "value is ${bar::param}"} } My hiera file looks l

Re: [Puppet Users] puppetd locking up?

2012-04-11 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Yes, my clients run with listen option. Already saw this bug repote and that's why I've restarted puppet agent without this option yesterday to see what happen. Will see results when arriving at work :) JB On 12/04/2012 01:38, Jason Antman w

Re: [Puppet Users] puppetd locking up?

2012-04-11 Thread Jean Baptiste Favre
Jean Baptiste FAVRE wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Seems to be the same as described here: https://groups.google.com/forum/?fromgroups#!topic/puppet-users/N1XcMTth7mE Got the same issue with puppet 2.6.14 and various kernels version. Can't find what's going ro

Re: [Puppet Users] puppetd locking up?

2012-04-10 Thread Jean Baptiste FAVRE
012 23:41, Jeff McCune wrote: > On Tue, Apr 10, 2012 at 2:35 PM, Jean Baptiste FAVRE > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hello, Seems to be the same as described here: >> https://groups.google.com/forum/?fromgroups#!topic/puppet-users/

Re: [Puppet Users] puppetd locking up?

2012-04-10 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Seems to be the same as described here: https://groups.google.com/forum/?fromgroups#!topic/puppet-users/N1XcMTth7mE Got the same issue with puppet 2.6.14 and various kernels version. Can't find what's going rong, so I guess I'll have to downgr

Re: [Puppet Users] Using Hash in define

2012-03-12 Thread Jean Baptiste Favre
Answer to myself: always double check for misspelling variable names... Sorry for noise, JB On 3/12/12 12:26 PM, Jean Baptiste Favre wrote: Hello, I want to pass a hash as parameters for a define $hash = { name => 'aname', key1 => 'akey', key2 => 'anoth

[Puppet Users] Using Hash in define

2012-03-12 Thread Jean Baptiste Favre
Hello, I want to pass a hash as parameters for a define $hash = { name => 'aname', key1 => 'akey', key2 => 'anotherkey' } mydefine { 'define': hash => $hash } define mydefine ( $hash ) { notice("Hash is as follow: name is ${hash[name]}, key1 is ${hash[key1]}, key2 is ${hash[key2]}") } When

Re: [Puppet Users] Re: Puppet & class dependency

2011-10-31 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello John, Answers inline On 31/10/2011 15:40, jcbollinger wrote: > > Your setup is a bit strange in using arrow syntax within a class to > declare a dependency of that class itself, though I'm not sure that > shouldn't work. Instead, the key pro

Re: [Puppet Users] Re: Puppet & class dependency

2011-10-31 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Devon, You're tight and that's the point I was looking for. I discovered that point when doing some tests after Andrew's contribution. So, now it works and I'll be able to deal with class ordering. Thanks for your answer, JB On 31/10/2011 18:4

Re: [Puppet Users] Re: Puppet & class dependency

2011-10-29 Thread Jean Baptiste FAVRE
include pkgrepo::install,pkgrepo::config > } > > Or > > pkgrepo::repository { "test": > docroot => "/var/www/website.domain.tld", > gpgkeyid=> "C78033BD", > require => Nginx::Vhost["website.doma

[Puppet Users] Puppet & class dependency

2011-10-28 Thread Jean Baptiste Favre
ages.iscoolapp.com"] -> Class['Pkgrepo'] include pkgrepo::install,pkgrepo::config } Problem is, when I try to executed it twice, I don't alway have dependency respected. For sure, I'm doing something wrong, but can not figure what. Bellow are the execution ou

Re: [Puppet Users] Re: Nodes graphs

2011-04-04 Thread Jean Baptiste Favre
Hello, Le 04/04/11 05:26, donavan a écrit : On Apr 3, 10:10 am, Jean Baptiste FAVRE wrote: But I would like to highlight nodes dependenxies as well. Is there any way to get a global "node-centric" graph ? If yes, how: server-side, client-side, both ? You might want to try this on

[Puppet Users] Nodes graphs

2011-04-03 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Working further with puppet, I need to be able to graph both nodes and class dependencies to be able to diagnose issues and/or redundancies. Currently, activating graph allows me to get ressources/dependencies graphs per client. But I would li

Re: [Puppet Users] [SOLVED] Tag usage question

2010-08-25 Thread Jean Baptiste FAVRE
actions in preseed/kickstart, just execute: FACTER_bootstrap_step=true puppetd --test --server puppetsrv.domain.com Regards, JB Le 24/08/2010 09:55, Daniel Pittman a écrit : Jean Baptiste FAVRE writes: Hello, Seems I wasn't clear enough ;-) Well, or I wasn't smart enough. ;) [..

Re: [Puppet Users] Tag usage question

2010-08-24 Thread Jean Baptiste FAVRE
27;m asking to the list. Regards, JB Le 24/08/2010 01:52, Daniel Pittman a écrit : Jean Baptiste FAVRE writes: I need to be able to execute some puppet statements at the end of an automatic installation, essentially packages removal. But I don't want it to be executed later. The main q

[Puppet Users] Tag usage question

2010-08-23 Thread Jean Baptiste FAVRE
Hello, I need to be able to execute some puppet statements at the end of an automatic installation, essentially packages removal. But I don't want it to be executed later. I'm looking on a way to test tag definition into my default node but did not find it. What I would like to do is sort of:

Re: [Puppet Users] SVN hooks

2010-08-12 Thread Jean Baptiste FAVRE
Hello Eric, Thanks for the link. My bad, did not think about looking into puppet svn modules :-/ Will try it asap, Regards, JB Le 12/08/2010 11:24, Eric Heydrick a écrit : On Thu, 12 Aug 2010, Jean Baptiste FAVRE wrote: Hello list, I'm planning to deploy and use Puppet at work. For

[Puppet Users] SVN hooks

2010-08-12 Thread Jean Baptiste FAVRE
Hello list, I'm planning to deploy and use Puppet at work. For this, I've set up a SVN server to keep track of all changes in modules & manifests. Reading documentation to be able to define coding rules, I want to put some SVN hooks to ensure for correct syntax and coding rules respect. Does

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Jean Baptiste FAVRE
Hello Rein, Strange, my mail took 3 days to be delivered :-/ By the way, I just had a look on the tickets you mentionned. As far as I can see, they are not duplicates with mine: it's definitelyt more dom0 detection failure related, not only domU. In my case, dom0 is perfectly detected. I can't sa

[Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Jean Baptiste FAVRE
Hello everyone, While discovering puppet, I just figured out that facter does not recognise my server as Xen HVM DomU, at least not in virtual fact: # facter facterversion => 1.5.1 manufacturer => Xen operatingsystem => Debian operatingsystemrelease => 5.0.5 productname => HVM domU puppetversion