[Puppet Users] Re: if NOT defined

2008-09-17 Thread Trevor Vaughan
Yes, but And the but is that it can dramatically reduce your execution path. You don't *have* to use them. Trevor On Tue, Sep 16, 2008 at 11:45 AM, Larry Ludwig <[EMAIL PROTECTED]> wrote: > > >> It might even evoluate in a full-fledged if 'expression' (ie combination >> of ==,!=, and/or...

[Puppet Users] Re: London Training Sept 29th - Oct 3rd

2008-09-17 Thread Gary Law
2008/9/12 Mike Pountney <[EMAIL PROTECTED]> > > > Excellent! Unfortunately, I'm not that au-fait with places to go in London > - I'll be travelling down from Brighton - but I'm sure there are folk on the > list that are... > > So, anyone got any good suggestions for places to go around here? > > h

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
I should have mentioned, I'm running four mongrel instances fronted by Apache/2.2.8 on the puppetmaster server for serving the clients. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] How long for changes to be pushed out?

2008-09-17 Thread josh
Hello, I have 680 hosts reporting into a central puppet server. Yesterday I made a change to site.pp and the nodes/foo.pp and nodes/ bar.pp files to push out some new files (a script to enable LDAP) and it seems that only a handful of stores have downloaded the file and run the script. (I don't h

[Puppet Users] refresh only for service type and notify across modules question

2008-09-17 Thread Evan Hisey
Is there a way to get the service type to only trigger if it is notified or is a file it is subscribed to changes? In a related issue what is the syntax for using notify across modules? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread chalex
I would do something like an ssh for loop that looked for the log entries from the clients to see what they're doing: for i in $NODES ssh $i grep puppetd /var/log/messages etc On Sep 17, 9:48 am, josh <[EMAIL PROTECTED]> wrote: > I should have mentioned, I'm running four mongrel instances fronte

[Puppet Users] Multiple Service[named] resources not conflicting ??

2008-09-17 Thread Evan Hisey
As understand puppet I should not be able to have two service[named] entries in the same compiled manifest. To me this means the following should not work: In module named/manifest/init.pp I have: class named{ package{"bind": ensure => present, } service{"n

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
With almost 700 nodes this isn't an option. The whole point of installing puppet in the first place was to not have to do this. And like I said, if I run puppetd manually on each box it gets the files, runs the scripts, etc. etc. Also due to inconsistencies in the syslog config on these boxes,

[Puppet Users] Calling modules from modules

2008-09-17 Thread Evan Hisey
Can puppet actually call modules form inside other modules? I thought that it could, put after more looking and working it seems that the rpbolems I have been running to may in fact be caused by puppet _not_ being able to call modules from inside a module. Evan --~--~-~--~~--

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread Aj
You'll definitely be wanting to setup reporting, even just the log type to get your clients puppet logs back on the master. On 18/09/2008, at 7:31 AM, josh <[EMAIL PROTECTED]> wrote: > > With almost 700 nodes this isn't an option. The whole point of > installing puppet in the first place was

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread josh
I have that setup now, I have a class for puppet.conf and a command to restart it, but it isn't getting pushed out automatically. I also just discovered a misconfiguration in a critical system config file, and since puppet isn't doing it's job, I may have to ssh into each box manually and fix it.

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread Andrew Shafer
Does it appear that puppet is doing other things? Because I suspect it isn't doing anything. The mystery is to figure out why your puppet clients aren't running/retrieving their catalogs. If you don't have logging or reports, fix that so you can start to get insight into what is actually happeni

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-17 Thread Larry Ludwig
With 700 hosts you should be centralizing your syslog. From that you can send the puppetd data to a central server and see your output. -L -- Larry Ludwig Empowering Media 1-866-792-0489 x600 Managed Xen based VPSes http://www.hostcube.com/ --~--~-~--~~~---~--~---

[Puppet Users] Syntax error at "user::virtual" in a simple Debian configuration

2008-09-17 Thread Pablo Virgo
Hi there, I've been working on a very simple puppet configuration to determine whether it could be used in our office, and am attempting to work within the best practices guide but have run into immediate difficulty. The error I have looks like this: $ puppetmasterd --verbose info: Starting se

[Puppet Users] managing war files

2008-09-17 Thread pfleming
Hi, I'm trying to manage war files on several tomcat servers. Here is what I'm trying to do: I have a source directory with war files that I want to sync to the nodes. The nodes mount this directory via nfs. When a change is detected I want to copy the war files from the nfs share to /webapps, st

[Puppet Users] Does it do anything?

2008-09-17 Thread Patrick Rutkowski
Lets say that one defines a group resource sans the ensure=>"present" statement, and also neglects to put any require=>Group["foo"] statements into any other resources. Will this resource have any effect? -Patrick P.S. I realize now after typing up the question that the issue probably applies

[Puppet Users] Re: Does it do anything?

2008-09-17 Thread Luke Kanies
On Sep 17, 2008, at 7:26 PM, Patrick Rutkowski wrote: > > Lets say that one defines a group resource sans the ensure=>"present" > statement, and also neglects to put any require=>Group["foo"] > statements > into any other resources. Will this resource have any effect? > > -Patrick > > P.S. > I

[Puppet Users] Re: managing war files

2008-09-17 Thread Andrew Shafer
What behavior are you getting? The recurse => 1 means it should only get the first level of that directory, I think you want recurse => true. On Wed, Sep 17, 2008 at 5:02 PM, pfleming <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to manage war files on several tomcat servers. Here is > what I'm

[Puppet Users] Re: Custom function with custom class

2008-09-17 Thread barrowkwan
to answer my own question, just put myclass.rb under /var/lib/puppet/ lib instead of /var/lib/puppet/lib/pupet/parser/functions On Sep 16, 3:33 pm, barrowkwan <[EMAIL PROTECTED]> wrote: > I have created a custom function, my_test.rb  ( it is under /var/lib/ > puppet/lib/puppet/parser/functions i