Re: [Puppet Users] Inline include

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > Thanks, but for the simple reason you can't revision control external > nodes, they are just not feasible. Wait, what? You can totally implement an external node classifier that takes its data from a version-controlled source. -- You received this message because yo

Re: [Puppet Users] Inline include

2010-03-19 Thread Douglas Garstang
On Fri, Mar 19, 2010 at 5:55 PM, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 20/03/10 10:19 AM, Douglas Garstang wrote: >> My node manifests are getting rather large. >> >> Is there a way I can inline include a file into a node manifest? I'd >> like to break the

[Puppet Users] Re: Cache expiry time? Detect manifest errors?

2010-03-19 Thread DieterVDW
Hmm currently the configuration does reload automatically. Not sure why it didn't work earlier. It would be nice to have some more info about the caching mechanism though. Also, I've noticed that there aren't really any warnings if you mess up the manifests. I get a few error lines in my puppetma

Re: [Puppet Users] Inline include

2010-03-19 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/03/10 10:19 AM, Douglas Garstang wrote: > My node manifests are getting rather large. > > Is there a way I can inline include a file into a node manifest? I'd > like to break the node manifest into smaller parts. Note, this is NOT > a module inc

[Puppet Users] Cache expiry time? How to push changes?

2010-03-19 Thread DieterVDW
Hi, I was wondering what is the correct way to make sure changes in the manifest files are applied to the relevant nodes. When using puppet -tv everything works as expected, but when running puppetd as a daemon, caching is playing games with me. Apparently changes are not applied until the cache

Re: [Puppet Users] Inline include

2010-03-19 Thread Patrick
On Mar 19, 2010, at 5:05 PM, Douglas Garstang wrote: > On Fri, Mar 19, 2010 at 4:51 PM, Patrick wrote: >> >> On Mar 19, 2010, at 4:36 PM, Douglas Garstang wrote: >> >>> I've already broken it down as much as I can. The bottom class is >>> calling the same definition 10 times to set up 10 insta

Re: [Puppet Users] Inline include

2010-03-19 Thread Douglas Garstang
On Fri, Mar 19, 2010 at 4:51 PM, Patrick wrote: > > On Mar 19, 2010, at 4:36 PM, Douglas Garstang wrote: > >> I've already broken it down as much as I can. The bottom class is >> calling the same definition 10 times to set up 10 instances of jboss >> on a single system, and another definition is r

Re: [Puppet Users] Inline include

2010-03-19 Thread Patrick
On Mar 19, 2010, at 4:36 PM, Douglas Garstang wrote: > I've already broken it down as much as I can. The bottom class is > calling the same definition 10 times to set up 10 instances of jboss > on a single system, and another definition is running 10 times to > setup 10 instances of tomcat on the

Re: [Puppet Users] Inline include

2010-03-19 Thread Douglas Garstang
I've already broken it down as much as I can. The bottom class is calling the same definition 10 times to set up 10 instances of jboss on a single system, and another definition is running 10 times to setup 10 instances of tomcat on the same server (don't blame me... it's the way our software was b

Re: [Puppet Users] Inline include

2010-03-19 Thread Patrick
On Mar 19, 2010, at 4:19 PM, Douglas Garstang wrote: > My node manifests are getting rather large. > > Is there a way I can inline include a file into a node manifest? I'd > like to break the node manifest into smaller parts. Note, this is NOT > a module include I am looking for. I don't know ho

[Puppet Users] Inline include

2010-03-19 Thread Douglas Garstang
My node manifests are getting rather large. Is there a way I can inline include a file into a node manifest? I'd like to break the node manifest into smaller parts. Note, this is NOT a module include I am looking for. Doug. -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Nigel Kersten
On Fri, Mar 19, 2010 at 3:33 PM, Brice Figureau wrote: > On 19/03/10 20:31, Michael DeHaan wrote: >>> I vote that what we really need is a "Puppetmaster Server Options" >>> page with a brief overview of the different options and the benefits >>> of each. >>> >>> It's really quite complicated at th

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Douglas Garstang
Agreed, but the documentation for capistrano is horrible. On Fri, Mar 19, 2010 at 3:23 PM, Kevin Rae wrote: > We solved this by using capistrano tasks to stop puppetd across the hosts, > run upgrades, then restart puppetd.  Capistrano (or other similar tools) > seem to be easier for these type of

Re: [Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Brice Figureau
On 19/03/10 20:31, Michael DeHaan wrote: >> I vote that what we really need is a "Puppetmaster Server Options" >> page with a brief overview of the different options and the benefits >> of each. >> >> It's really quite complicated at the moment >> >> Webrick >> Apache with Passenger >> Apache with

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Kevin Rae
We solved this by using capistrano tasks to stop puppetd across the hosts, run upgrades, then restart puppetd. Capistrano (or other similar tools) seem to be easier for these type of operational configuration changes vs. trying to model this within puppet. On Fri, Mar 19, 2010 at 3:05 PM, Douglas

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Douglas Garstang
On Fri, Mar 19, 2010 at 3:03 PM, Steven VanDevender wrote: > Douglas Garstang writes: >  > On Fri, Mar 19, 2010 at 2:49 PM, Steven VanDevender > wrote: >  > > Douglas Garstang writes: >  > >  > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > wrote: >  > >  > > Douglas Garstang wrote: >  > >  >

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > On Fri, Mar 19, 2010 at 2:49 PM, Steven VanDevender > wrote: > > Douglas Garstang writes: > >  > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > > wrote: > >  > > Douglas Garstang wrote: > >  > >> Is there a way to quiesce the puppet daemon, such that it stays

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Douglas Garstang
On Fri, Mar 19, 2010 at 2:49 PM, Steven VanDevender wrote: > Douglas Garstang writes: >  > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > wrote: >  > > Douglas Garstang wrote: >  > >> Is there a way to quiesce the puppet daemon, such that it stays >  > >> running, but does not run updates, until

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Steven VanDevender
Douglas Garstang writes: > On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks > wrote: > > Douglas Garstang wrote: > >> Is there a way to quiesce the puppet daemon, such that it stays > >> running, but does not run updates, until instructed again to do so? > >> > >> We have puppet deploying our

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Douglas Garstang
On Fri, Mar 19, 2010 at 2:33 PM, Alan Sparks wrote: > Douglas Garstang wrote: >> Is there a way to quiesce the puppet daemon, such that it stays >> running, but does not run updates, until instructed again to do so? >> >> We have puppet deploying our software, and would like to quiesce >> puppetd

Re: [Puppet Users] Quiesce Puppet?

2010-03-19 Thread Alan Sparks
Douglas Garstang wrote: > Is there a way to quiesce the puppet daemon, such that it stays > running, but does not run updates, until instructed again to do so? > > We have puppet deploying our software, and would like to quiesce > puppetd so that it doesn't restart services etc until after the > up

[Puppet Users] Quiesce Puppet?

2010-03-19 Thread Douglas Garstang
Is there a way to quiesce the puppet daemon, such that it stays running, but does not run updates, until instructed again to do so? We have puppet deploying our software, and would like to quiesce puppetd so that it doesn't restart services etc until after the upgrade is done. Doug. -- You rece

Re: [Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Nigel Kersten
On Fri, Mar 19, 2010 at 12:31 PM, Michael DeHaan wrote: >> I vote that what we really need is a "Puppetmaster Server Options" >> page with a brief overview of the different options and the benefits >> of each. >> >> It's really quite complicated at the moment >> >> Webrick >> Apache with Passenger

Re: [Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Michael DeHaan
> I vote that what we really need is a "Puppetmaster Server Options" > page with a brief overview of the different options and the benefits > of each. > > It's really quite complicated at the moment > > Webrick > Apache with Passenger > Apache with mod_proxy and mongrel > Pound with mongrel > Nginx

Re: [Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Nigel Kersten
On Fri, Mar 19, 2010 at 12:03 PM, Michael DeHaan wrote: > Hi folks, > > I've been working on adding content to http://docs.reductivelabs.com > (not pushed just yet) ... the goal for docs.reductivelabs.com is to be > a great place to point people learning puppet, that produces a good > gentle intro

[Puppet Users] Doc site upgrades and Wiki question

2010-03-19 Thread Michael DeHaan
Hi folks, I've been working on adding content to http://docs.reductivelabs.com (not pushed just yet) ... the goal for docs.reductivelabs.com is to be a great place to point people learning puppet, that produces a good gentle introduction but also contains the meat of the information, all in one pl

[Puppet Users] Timeout in io.select (+patch)

2010-03-19 Thread Patrice Neff
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've been having problems on and off with connecting to our Puppet master from EC2. We have the Puppet master outside of the Amazon network, in Switzerland. So it's doing a connection Ireland<->Switzerland. This of course leads to slow pupp

Re: [Puppet Users] Using Puppet for application deployment

2010-03-19 Thread David Schmitt
On 3/19/2010 9:42 AM, Marcin Owsiany wrote: On Thu, Mar 18, 2010 at 10:58:52AM +0100, David Schmitt wrote: On 3/17/2010 8:41 PM, Luke Kanies wrote: If you have two services, where one service specifies that it being in a 'running' state requires that the other service must also be in a 'running

Re: [Puppet Users] If defined() ?

2010-03-19 Thread Michael Gliwinski
On Thursday 18 Mar 2010 19:04:17 Peter Meier wrote: > > and this: > > > > if ! defined(File["/data/syslog/${remote_host}/archive"]) { > > file { > > "/data/syslog/${remote_host}/archive": > > ensure => directory; > > } > > } > > this should wor

Re: [Puppet Users] Using Puppet for application deployment

2010-03-19 Thread Marcin Owsiany
On Thu, Mar 18, 2010 at 10:58:52AM +0100, David Schmitt wrote: > On 3/17/2010 8:41 PM, Luke Kanies wrote: >> If you have two services, where one service specifies that it being in a >> 'running' state requires that the other service must also be in a >> 'running' state, when you got to restart the