Re: [Puppet Users] Making Puppet run faster

2010-03-11 Thread Brice Figureau
On Wed, 2010-03-10 at 17:18 -0800, Douglas Garstang wrote: On Wed, Mar 10, 2010 at 1:38 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Mar 10, 2010 at 1:34 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Mar 10, 2010 at 1:17 PM, Brice Figureau

[Puppet Users] Re: puppetd hangs, dies - case 2

2010-03-11 Thread Gerhard Rieger
Hi On Mar 11, 12:02 am, Peter Meier peter.me...@immerda.ch wrote: 2) puppetd had successfully connected to puppetmasterd before. When on a following scheduled connection attempt puppetmasterd cannot be reached (host down or network broken), puppetd terminates silently instead of retrying

[Puppet Users] Re: London Puppet Training - Early-bird rate expires March 15th

2010-03-11 Thread Al @ Lab42
Don't forget another good reason to be there... a Puppet Meetup in London, probably Wednesday the 31st of March. On Mar 11, 6:06 am, scramble scott.k.campb...@gmail.com wrote: Hi All - Early registration is still available for Puppet Training in London: Puppet Master Training:   March

[Puppet Users] Re: Puppet 0.25.4 Init problem

2010-03-11 Thread christian
I had a similiar problem... Have a look at your init script. In my case there was a line like this startproc $PUPPETMASTER $PUPPETMASTER_OPTS. Change the line to $PUPPETMASTER $PUPPETMASTER_OPTS and when you start puppet again the script should report a success. And for the shutting down problem

Re: [Puppet Users] Re: Puppet 0.25.4 Init problem

2010-03-11 Thread Peter Meier
Zitat von christian christ...@cust.in: I had a similiar problem... Have a look at your init script. In my case there was a line like this startproc $PUPPETMASTER $PUPPETMASTER_OPTS. Change the line to $PUPPETMASTER $PUPPETMASTER_OPTS and when you start puppet again the script should report a

Re: [Puppet Users] Re: puppetd hangs, dies - case 2

2010-03-11 Thread Peter Meier
Hi On Mar 11, 12:02 am, Peter Meier peter.me...@immerda.ch wrote: 2) puppetd had successfully connected to puppetmasterd before. When on a following scheduled connection attempt puppetmasterd cannot be reached (host down or network broken), puppetd terminates silently instead of retrying

Re: [Puppet Users] Re: Failed to retrieve current state of resource a.o

2010-03-11 Thread Nigel Kersten
Is that your entire config? ie no environments or anything? On Wed, Mar 10, 2010 at 10:49 PM, skoesters skoest...@gmx.de wrote: Hi and thanks for your answer, no, i do not have plugins in my fileserver config. my puppet.conf looks like this: --- [main]    # Where Puppet stores dynamic

[Puppet Users] Re: London Puppet Training - Early-bird rate expires March 15th

2010-03-11 Thread scramble
Right! looking forward to it On Mar 11, 3:58 am, Al @ Lab42 lab42...@gmail.com wrote: Don't forget another good reason to be there... a Puppet Meetup in London, probably Wednesday the 31st of March. On Mar 11, 6:06 am, scramble scott.k.campb...@gmail.com wrote: Hi All - Early

[Puppet Users] Re: puppetd hangs, dies - case 1

2010-03-11 Thread Gerhard Rieger
Hi, On Mar 11, 12:02 am, Peter Meier peter.me...@immerda.ch wrote: 1) When puppetd starts for the first time and cannot reach puppetmasterd (due to routing or firewall problem), it hangs and cannot be stopped with SIGTERM (that is used by /etc/init.d/puppet stop and restart) Might be

Re: [Puppet Users] Is setting a dynamic namevar bad practice?

2010-03-11 Thread Brice Figureau
On Wed, 2010-03-10 at 15:45 -0800, briwood wrote: An array is passed to aegir::platform_directory causing it to invoke the define aegir::platform_directory multiple times. In the define I set namevar of the exec to unpack-drupal-${name} in order to to avoid the error Duplicate definition:

[Puppet Users] Problems with service resource

2010-03-11 Thread Antonio Xanxess
Hello! I'm trying to create a resource of type service in which there is a clause subscribe. In this clause need to put a variable, and when I run the client gives me this error: warning: Configuration could not be instantiated: Parameter subscribe failed: Relationships must be resource references

AW: [Puppet Users] Re: Failed to retrieve current state of resource a.o

2010-03-11 Thread Sebastian Kösters
Hey, it was. Today i re-installed everything reading the howto from the puppet developers. Puppet with modules and stuff is working fine but the pluginsync still does not work. Here my whole (new) configs: Puppet.conf: --- [main] # Where Puppet stores dynamic and growing data. # The

Re: [Puppet Users] Re: Failed to retrieve current state of resource a.o

2010-03-11 Thread Nigel Kersten
Do you actually have any plugins in your modules? 2010/3/11 Sebastian Kösters skoest...@gmx.de: Hey, it was. Today i re-installed everything reading the howto from the puppet developers. Puppet with modules and stuff is working fine but the pluginsync still does not work. Here my whole

AW: [Puppet Users] Re: Failed to retrieve current state of resource a.o

2010-03-11 Thread Sebastian Kösters
Not at the moment, but maybe in the Future. Is that a Problem? -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] Im Auftrag von Nigel Kersten Gesendet: Donnerstag, 11. März 2010 19:12 An: puppet-users@googlegroups.com Betreff: Re: [Puppet

[Puppet Users] troubleshooting quiet puppet client

2010-03-11 Thread chalex
# puppetmasterd --version 0.24.7 # puppetd --version 0.25.4 Just upgraded that puppetd client, and now it doesn't do anything: # puppetd --test --server cob.genomics.upenn.edu --debug --trace debug: Failed to load library 'selinux' for feature 'selinux' debug:

[Puppet Users] troubleshooting quiet puppet client

2010-03-11 Thread Steven VanDevender
chalex writes: # puppetmasterd --version 0.24.7 # puppetd --version 0.25.4 Just upgraded that puppetd client, and now it doesn't do anything: Upgrade the puppetmaster before upgrading any puppet clients. -- You received this message because you are subscribed to the Google

[Puppet Users] Possible variables to use with templates

2010-03-11 Thread Smain Kahlouch
Hi everyone, I guess the question has been asked a million times. I'm a beginner in puppet and i would like to know where i can find a list of possible variables to use the templates. Thanks for your help, Grifith -- You received this message because you are subscribed to the Google Groups

AW: [Puppet Users] Re: Failed to retrieve current state of resource a.o

2010-03-11 Thread Sebastian Kösters
Thanks! I tried it with oldplugins and it works now. -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] Im Auftrag von Nigel Kersten Gesendet: Donnerstag, 11. März 2010 19:28 An: puppet-users@googlegroups.com Betreff: Re: [Puppet Users]

[Puppet Users] Re: Possible variables to use with templates

2010-03-11 Thread Al @ Lab42
You can have variables provided by facter (run the command facter on an host to see its variables) and define your custom variables, with extreme care to how they are scoped in puppet. http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#variable-scope This article well explains Puppet and

Re: [Puppet Users] Using Puppet for application deployment

2010-03-11 Thread Julian Simpson
They're two distinct areas of 'deployment'. Puppet is more like, systems deployment, cap is app or content deployment in my eyes. Yes, I want to change that observation. I use Puppet for deploying my blog. It's a WordPress distro with a bunch of plugins, etc. It was too slow. I ended

Re: [Puppet Users] Making Puppet run faster

2010-03-11 Thread Luke Kanies
On Mar 10, 2010, at 10:24 AM, Douglas Garstang wrote: We aren't using storeconfigs. Putting config in a db is crazy. I think there's some confusion here on what storeconfigs does for you - you're just caching the compiled configurations in a database, nothing else really changes. -- A

Re: [Puppet Users] Making Puppet run faster

2010-03-11 Thread Luke Kanies
On Mar 10, 2010, at 1:38 PM, Douglas Garstang wrote: On Wed, Mar 10, 2010 at 1:34 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Mar 10, 2010 at 1:17 PM, Brice Figureau brice-pup...@daysofwonder.com wrote: On 10/03/10 22:06, Douglas Garstang wrote: So, it became apparent to me,

Re: [Puppet Users] Using puppet to automate tasks (ex: mysql slave setup)

2010-03-11 Thread Luke Kanies
On Mar 10, 2010, at 5:18 AM, Doug Warner wrote: I'm not sure if puppet can be coerced to do something like this, but I wanted to throw it out there as it's a process that seems fairly easy to automate. To create new mysql slaves my process goes something like this: 1) run innobackupex [1]

[Puppet Users] Re: Problems with service resource

2010-03-11 Thread christian
I don't think that that's gonna work... As the error message says subscribe needs a resource reference which means that you need something like File[myfile]. What is it exactly that you want to do? You want to start a service after 2 files being created/changed? Then you should try something like