Re: [Puppet Users] Puppet / scalability

2012-05-18 Thread Alex Harvey
On 15 May 2012 22:10, Steve Traylen wrote: > > We are currently along way from that with a single master and around 200 > nodes > while we learn puppet and migrate away from quattor. > The 300k figures are a couple of years away, we will have a respectable > figure > sometime this year we

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Deepak Giridharagopal
On Fri, May 18, 2012 at 7:48 AM, Philip Brown wrote: > > > On Friday, May 18, 2012 7:21:26 AM UTC-7, Michael Stanhke wrote: > >> PuppetDB, a component of the Puppet Data Library, is a centralized >> storage >> daemon for auto-generated data. This initial release of PuppetDB targets >> the >> stor

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Gary Larizza
I wonder if the nil value is not being accepted as 'being passed' - can you populate the nil value and try again? On Fri, May 18, 2012 at 2:41 PM, Dan White wrote: > > > > - Luke Bigum wrote: > > On 18/05/12 13:46, Dan White wrote: > > > Ah, Gary ! Just the brain I wish to pick ! :) > > >

[Puppet Users] Run Stages and Puppet Dashboard

2012-05-18 Thread fsalum
Hi guys. I'm trying to use Run Stages with Puppet Dashboard as my ENC but I couldn't find a way to do it. I see all examples running nodes.pp declarations. Is it possible to use Run Stages via Puppet Dashboard ? If yes, could you give me an example ? Thanks, Felipe -- You received this messa

[Puppet Users] Announce: Puppet 2.7.15rc2 Available

2012-05-18 Thread Moses Mendoza
Puppet 2.7.15rc2 is a maintenance release candidate for Puppet in the 2.7.x series. Downloads are available at: * Source https://downloads.puppetlabs.com/puppet/puppet-2.7.15rc2.tar.gz Windows package is available at https://downloads.puppetlabs.com/windows/puppet-2.7.15rc2.msi RPMs are availab

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Dan White
- Luke Bigum wrote: > On 18/05/12 13:46, Dan White wrote: > > Ah, Gary ! Just the brain I wish to pick ! :) > > > > Thanks for the response. It makes sense. > > However, if I perceive this properly, it would provide an All-Or-Nothing > > implementation of users. > > > > I am looking for

[Puppet Users] Re: Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables

2012-05-18 Thread jcbollinger
On May 18, 11:23 am, Calimero wrote: > manifests/site.pp: > > $globalenv = "prod" > > node    'centos6.priv.net' { >         $globalenv      = "int" >         class { "yum" : >         } > > } > > modules/yum/manifests/init.pp > class   yum::params { >         notify { "yum-params" : >          

Re: [Puppet Users] Re: Newbie question: what to start from?

2012-05-18 Thread Aaron Grewell
On Fri, May 18, 2012 at 11:07 AM, Christopher Wood wrote: >>    When we started using cfengine long time ago cookbooks _with_examples_ >>    were available, it was very convenient. There's an integrated set of example modules here that are worth a look: http://www.example42.com/ -- You received

Re: [Puppet Users] Re: Newbie question: what to start from?

2012-05-18 Thread Christopher Wood
http://forge.puppetlabs.com/ That's sort of like a cookbook. On Fri, May 18, 2012 at 11:01:51AM -0700, Anatoliy Lisovskiy wrote: >Thanks anyway. ;) > >When we started using cfengine long time ago cookbooks _with_examples_ >were available, it was very convenient. > >Anatoliy > >

Re: [Puppet Users] Re: Newbie question: what to start from?

2012-05-18 Thread Ashley Penney
I'm not associated with this site in any way but you might want to look at http://www.example42.com/ and https://github.com/example42, they have a lot of examples and existing modules you could look through to get a feel for how Puppet is put together. On Fri, May 18, 2012 at 2:01 PM, Anatoliy Li

Re: [Puppet Users] Re: Newbie question: what to start from?

2012-05-18 Thread Anatoliy Lisovskiy
Thanks anyway. ;) When we started using cfengine long time ago cookbooks _with_examples_ were available, it was very convenient. Anatoliy On Thu, May 17, 2012 at 2:56 PM, Andy Taylor wrote: > Welcome :) > > I started here: > > http://docs.puppetlabs.com/learning/ > > Lots of good material. >

[Puppet Users] Re: Facter not initialized in rspec in puppetlabs-stdlib?

2012-05-18 Thread Wil Cooley
On Apr 16, 2:01 pm, Jeff McCune wrote: > On Sat, Apr 14, 2012 at 8:34 PM, Wil Cooley wrote: > > On Thursday, April 12, 2012 10:06:25 AM UTC-7, Jeff McCune wrote: > > >> The problem is that modules like stdlib need Puppet to be initialized > >> in a manner suitable for testing.  Setting things lik

Re: [Puppet Users] Facter 1.6.9 complains about "No LSB modules are available."

2012-05-18 Thread Stig Sandbeck Mathisen
Andreas Ntaflos writes: > it seems that Facter 1.6.9 complains that "No LSB modules are > available." on every run. This is on Ubuntu 10.04 and 12.04, probably > others as well. This message (on stderr) usually comes from calling > "lsb_release -v" when no additional LSB modules are installed. Fa

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Nick Fagerlund
On Friday, May 18, 2012 10:09:01 AM UTC-7, replicant wrote: > > I noticed it can't use MySQL, where as Puppet Dashboard can only use > MySQL. Does the dashboard plan on moving to something else or am I > going to have to run to separate DB providers in order to use PuppetDB > and Dashboard?

[Puppet Users] F5 Load Balancing

2012-05-18 Thread Matt
Is there any documentation on doing the ssl termination on the F5? The only thing I found is http://projects.puppetlabs.com/projects/puppet/wiki/Load_Balancing_F5 which is only providing the iRule and not suggested configurations or starting points? I currently use an F5 to load balance my pupp

Re: [Puppet Users] Check If State Changed with Puppet 0.25.4

2012-05-18 Thread Brian Gupta
On Fri, May 18, 2012 at 12:44 PM, Eytan Daniyalzade wrote: > Hey, > > I would like to figure out if the latest puppet client run changed the > state of the server, in a programatic way. Essentially, I would like > to achieve what --detailed-exitcodes provides in later versions of > puppet. I am ru

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Glenn Bailey
On Fri, May 18, 2012 at 9:48 AM, Philip Brown wrote: > > > On Friday, May 18, 2012 7:21:26 AM UTC-7, Michael Stanhke wrote: >> >> PuppetDB, a component of the Puppet Data Library, is a centralized storage >> daemon for auto-generated data. This initial release of PuppetDB targets >> the >> storage

[Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Alessandro Franceschi
Wow, these are great news! I've just installed it on an Ubuntu 12.04 and it was really painless. For whoever might be interested I made an instant module for this: https://github.com/example42/puppet-puppetdb with default Example42 NextGen layout (so it still misses puppetdb specific resources a

[Puppet Users] Check If State Changed with Puppet 0.25.4

2012-05-18 Thread Eytan Daniyalzade
Hey, I would like to figure out if the latest puppet client run changed the state of the server, in a programatic way. Essentially, I would like to achieve what --detailed-exitcodes provides in later versions of puppet. I am running in master/slave mode. Any suggestions? I have considered using /v

[Puppet Users] Re: tlsv1 alert unknown ca

2012-05-18 Thread Steeve McCauley
I fixed this by configuring webrick to set :SSLCACertificateFile and :SSLCACertificatePath to the ssl bundle I got from godaddy. s=WEBrick::HTTPServer.new( :Port => 8443, :Logger => WEBrick::Log::new($stderr, WEBrick::Log::DEBUG), :DocumentRoot => "/tmp/webrick_test/doc_ro

[Puppet Users] Re: Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables

2012-05-18 Thread Calimero
Hi, On 24 avr, 18:40, jcbollinger wrote: > Another alternative would be to do exactly as you would have done with > 0.24 or 0.25.  Global variables, node variables, and dynamic scoping > still work in 2.6, and even 2.7 (though 2.7 will issue warnings about > resolving variables via dynamic scopi

[Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0rc1 Available

2012-05-18 Thread Andrew Parker
There is a major breaking change that got missed in the list: dynamic scoping has been removed from the language. On May 17, 2012, at 11:36 PM, Matthaus Litteken wrote: > Puppet 3.0.0rc1 is a feature release candidate for the 3.0 series of Puppet. > > Puppet 3.0 has breaking changes from the Pu

[Puppet Users] Re: Facter 1.6.9 complains about "No LSB modules are available."

2012-05-18 Thread Andreas N
On Friday, May 18, 2012 1:28:43 PM UTC+2, Andreas N wrote: > > > it seems that Facter 1.6.9 complains that "No LSB modules are > available." on every run. This is on Ubuntu 10.04 and 12.04, probably > others as well. This message (on stderr) usually comes from calling > "lsb_release -v" when no

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-18 Thread Daniel Sauble
On Friday, May 18, 2012 6:58:37 AM UTC-7, seanmil wrote: > > On Fri, 2012-05-11 at 09:39 -0700, Daniel Sauble wrote: > > Another problem is that if you move services around, you have to > > update puppet.conf on all nodes that use that service. For example, if > > you migrate your master to a

[Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Philip Brown
On Friday, May 18, 2012 7:21:26 AM UTC-7, Michael Stanhke wrote: > > PuppetDB, a component of the Puppet Data Library, is a centralized storage > daemon for auto-generated data. This initial release of PuppetDB targets > the > storage of catalogs and facts: > ... > As this is the first public

[Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Krzysztof Wilczynski
Hi, Awesome sauce, definitely +1 :) KW On Friday, May 18, 2012 3:21:26 PM UTC+1, Michael Stanhke wrote: > > PuppetDB, a component of the Puppet Data Library, is a centralized storage > daemon for auto-generated data. This initial release of PuppetDB targets > the > storage of catalogs and fac

[Puppet Users] Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Michael Stahnke
PuppetDB, a component of the Puppet Data Library, is a centralized storage daemon for auto-generated data. This initial release of PuppetDB targets the storage of catalogs and facts: * It’s a drop-in, 100% compatible replacement for storeconfigs * It’s a drop-in, 100% compatible replacement for

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Gary Larizza
On Friday, May 18, 2012, jcbollinger wrote: > > > On May 17, 11:16 pm, Gary Larizza > > wrote: > > That's exactly what I was suggesting. If you declared the users as > > create_resources expected it, and included the same user in multiple > levels > > of the hierarchy, the hash merging functional

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-18 Thread Sean Millichamp
On Fri, 2012-05-11 at 09:39 -0700, Daniel Sauble wrote: > Another problem is that if you move services around, you have to > update puppet.conf on all nodes that use that service. For example, if > you migrate your master to a new host, you have to update puppet.conf > on every agent that uses that

[Puppet Users] undefined method `has_fact_with_value' for #

2012-05-18 Thread Nathan Flynn
Hello, When I do a facts search I get an error; Example; https://puppet01.admin.X.net.uk:8140/production/facts_search/search?facts.operatingsystem=Debian undefined method `has_fact_with_value' for # Any help on tracking this down would be greatly appreciated. The error is also in the log; M

[Puppet Users] Re: Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread jcbollinger
On May 17, 11:16 pm, Gary Larizza wrote: > That's exactly what I was suggesting.  If you declared the users as > create_resources expected it, and included the same user in multiple levels > of the hierarchy, the hash merging functionality would leave you with a > single user declaration.  One c

[Puppet Users] Re: Classes, Subclasses, and Requirements

2012-05-18 Thread jcbollinger
On May 17, 12:14 pm, James Sweeny wrote: > The point of the "require" parameter is to define a dependency > relationship. More precisely, it defines an *application-order* relationship. What Puppet is choking on is different: a *parse-order* dependency. The former involves only order of oper

[Puppet Users] Re: modifying declared user/group types without resorting to inheritance?

2012-05-18 Thread jcbollinger
On May 17, 12:44 pm, Joshua Hoblitt wrote: > In order for this to work for me both ::dev & ::prod would need to inherit > from ::common and extend the same group definition.  Without some sort of > multiple inheritance support that would end up with a Group type declared > twice or am I missing

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Dan White
- Luke Bigum wrote: > On 18/05/12 13:46, Dan White wrote: > > Ah, Gary ! Just the brain I wish to pick ! :) > > > > Thanks for the response. It makes sense. > > However, if I perceive this properly, it would provide an All-Or-Nothing > > implementation of users. > > > > I am looking for for

Re: [Puppet Users] Hiera Questions: An array of :datadir: ?

2012-05-18 Thread Dan White
- Luke Bigum wrote: > On 18/05/12 04:04, Dan White wrote: > > In a posting a few days ago was this hiera.yaml source listing: > > - > > :backends: - json > > :hierarchy: - %{fqdn} > > - %{lmax_role}_role > > - %{lmax_env}_server > >

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Luke Bigum
On 18/05/12 13:46, Dan White wrote: Ah, Gary ! Just the brain I wish to pick ! :) Thanks for the response. It makes sense. However, if I perceive this properly, it would provide an All-Or-Nothing implementation of users. I am looking for for a way to have a master list of users in hiera and

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-18 Thread DieZ
thx Paul, restarting apache has resolved this issue , have a nice day ;) Le vendredi 18 mai 2012 12:08:47 UTC+1, Paul Tötterman a écrit : > > I'm using Passenger, so there is no need to restart puppet master >> (according to >> http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger) >>

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-18 Thread Dan White
- Gary Larizza wrote: > On Thu, May 17, 2012 at 9:12 PM, Dan White wrote: > > > One way I have seen for setting up system users is to create them > > virtually and then realize them with the spaceship operator, say by ggroup > > -- like this: > > > > User <| groups == 'wheel' |> > > > > Refe

[Puppet Users] Re: Tried to setup a facter module but it doesn't work. Help needed please.

2012-05-18 Thread Christophe L
Hello, I found my problem: I have to run facter -p in order to get the fact from the new facter module. cf. http://docs.puppetlabs.com/guides/custom_facts.html Best regards, Christophe Le vendredi 18 mai 2012 09:40:12 UTC+4, Christophe L a écrit : > > Hello, > > I tried to setup the following f

[Puppet Users] Facter 1.6.9 complains about "No LSB modules are available."

2012-05-18 Thread Andreas Ntaflos
Hi, it seems that Facter 1.6.9 complains that "No LSB modules are available." on every run. This is on Ubuntu 10.04 and 12.04, probably others as well. This message (on stderr) usually comes from calling "lsb_release -v" when no additional LSB modules are installed. Facter apparently calls "lsb_re

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-18 Thread Paul Tötterman
> > I'm using Passenger, so there is no need to restart puppet master > (according to > http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger) > Did you restart your webserver then? Or redeploy the passenger app http://modrails.com/documentation/Users%20guide%20Nginx.html#_redeploying

Re: [Puppet Users] Hiera Questions: An array of :datadir: ?

2012-05-18 Thread Luke Bigum
On 18/05/12 04:04, Dan White wrote: In a posting a few days ago was this hiera.yaml source listing: - :backends: - json :hierarchy: - %{fqdn} - %{lmax_role}_role - %{lmax_env}_server - %{pop}.tradefair - comm