Re: [Puppet Users] Re: [facter]Bug can't get : ipaddress_ethX

2012-11-28 Thread AnOnJoe
I have upgraded my facter version : facter --version 1.6.9 It's now working like a charm Thx. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4729ePmYnU4

Re: [Puppet Users] Re: [facter]Bug can't get : ipaddress_ethX

2012-11-28 Thread AnOnJoe
*facter --version* *1.5.7* 2012/11/28 Matthaus Owens > Which facter version are you seeing this on? (`facter --version`) > > On Wed, Nov 28, 2012 at 9:14 AM, AnOnJoe wrote: > > sorry there is a typo : > > > > Le mercredi 28 novembre 2012 18:06:54 UTC+1, AnOnJo

[Puppet Users] Re: [facter]Bug can't get : ipaddress_ethX

2012-11-28 Thread AnOnJoe
sorry there is a typo : Le mercredi 28 novembre 2012 18:06:54 UTC+1, AnOnJoe a écrit : > > Hello, > I have a problem with facter : > > eg: > >> facter |grep ipaddress_eth1 >> ipaddress_eth*1* => 192.168.0.254 >> > works > > but > >>

[Puppet Users] [facter]Bug can't get : ipaddress_ethX

2012-11-28 Thread AnOnJoe
Hello, I have a problem with facter : eg: > facter |grep ipaddress_eth1 > ipaddress_eth0 => 192.168.0.254 > works but > facter ipaddress_eth1 > return nothing Do you know how I can work with this ? thx -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: [hiera] Hierarchy modification takes long time to be effective

2012-11-28 Thread AnOnJoe
Thx, i'm feeling stupid, it was that Le mercredi 28 novembre 2012 15:41:53 UTC+1, llowder a écrit : > > > > On Wednesday, November 28, 2012 8:38:37 AM UTC-6, AnOnJoe wrote: >> >> Hello, >> >> I've something strange : >> When I modify my h

[Puppet Users] [hiera] Hierarchy modification takes long time to be effective

2012-11-28 Thread AnOnJoe
Hello, I've something strange : When I modify my hierarchy in my hiera.yaml, it can take up to several hours, for the modification to work. eg : I create a subdir in my hieradata, move all the concerned files into, modify my hiera.yaml > from : > :hierarchy: > - %{operatingsystem} > to

[Puppet Users] Re: What is the best way for creating users in puppet/hiera ?

2012-11-28 Thread AnOnJoe
: > > > > On Monday, November 26, 2012 5:00:17 AM UTC-6, AnOnJoe wrote: >> >> Hello, >> I have recently discover hiera, and I would like to use it for creating >> users on my node. >> >> I first think of someting like that : >> >>

[Puppet Users] What is the best way for creating users in puppet/hiera ?

2012-11-26 Thread AnOnJoe
Hello, I have recently discover hiera, and I would like to use it for creating users on my node. I first think of someting like that : common.yaml > lusers : - jodoe > - jadoe > classes : - users > serv01.foo.com.yaml > lusers : - Alice > - Bob > modules/users/manifest

[Puppet Users] Re: Best Practices on node declaration

2012-11-23 Thread AnOnJoe
Thank you very much guys. Hiera saved my life ;-) Le mercredi 21 novembre 2012 18:46:06 UTC+1, AnOnJoe a écrit : > > Hello, > > I would like to know what are the best pratices in node declaration. > > I tried to play with inheritance with failures : > Here my* pu

[Puppet Users] Best Practices on node declaration

2012-11-21 Thread AnOnJoe
Hello, I would like to know what are the best pratices in node declaration. I tried to play with inheritance with failures : Here my* puppet/manifest/site.pp* node basenode { > class { 'ssh': } > class { 'ntp': } > class { 'users': } > class { 'sudo': } > } > > n

[Puppet Users] Re: How to increment variable in erb template ?

2012-04-24 Thread AnOnJoe
I've got it : Compteur <%= compteur %> > *<% compteur = compteur.to_i -%>* > <% compteur += 1 -%> > Compteur <%= compteur %> > Le mardi 24 avril 2012 15:38:28 UTC+2, AnOnJoe a écrit : > > Hi', > > I'm looking for a way to incr

[Puppet Users] How to increment variable in erb template ?

2012-04-24 Thread AnOnJoe
Hi', I'm looking for a way to increment variable in template (erb file). I tried this, but it didn't work Compteur <%= compteur %> > <% compteur = compteur + 1 %> > Compteur <%= compteur %> > I've got this error : > Error 400 on SERVER: Failed to parse template test/test.erb: undefined > met