[Puppet Users] Re: Puppet Camp Oct 1-2 at SFSU

2009-06-11 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Schmitt wrote: > > I'm currently trying to re-activate the PuppetCommonModules[1] project > in redmine and seed it with some of my modules from > http://git.black.co.at/. I've already got positive feedback on the IRC > channel, just trying[2

[Puppet Users] Re: Variables in definitions

2009-06-11 Thread David Schmitt
DrKJam schrieb: > Hi, > > A quick "Hello" to every as this is my first post on the Puppet Users group. > > I had some training with Teyo in London recently and am busy > evaluating Puppet to replace a config engine developed for internal > use at my company. > > Question: Is it possible to refe

[Puppet Users] Re: Puppet Camp Oct 1-2 at SFSU

2009-06-11 Thread David Schmitt
Hi David, *! David Lutterkort schrieb: > On Wed, 2009-06-10 at 16:59 +0100, Matt wrote: >> A few things from the top of my head: >> >> 1) What people have done in regard to node management, as well as >> dealing with nodes that do not have static DNS names such as when >> using Ec2. >> 2) Success

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Asif Iqbal
On Thu, Jun 11, 2009 at 10:09 PM, Asif Iqbal wrote: > On Thu, Jun 11, 2009 at 7:01 PM, Luke Kanies wrote: >> >> On Jun 11, 2009, at 5:58 PM, Asif Iqbal wrote: >> >>> >>> On Thu, Jun 11, 2009 at 6:47 PM, Luke Kanies wrote: On Jun 11, 2009, at 11:36 AM, Asif Iqbal wrote: > > O

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Asif Iqbal
On Thu, Jun 11, 2009 at 7:01 PM, Luke Kanies wrote: > > On Jun 11, 2009, at 5:58 PM, Asif Iqbal wrote: > >> >> On Thu, Jun 11, 2009 at 6:47 PM, Luke Kanies wrote: >>> >>> On Jun 11, 2009, at 11:36 AM, Asif Iqbal wrote: >>> On Thu, Jun 11, 2009 at 11:58 AM, Luke Kanies wrote: > >

[Puppet Users] Managing content of state.yaml

2009-06-11 Thread Greg
Hi all, I have a tidy block set up to clean up old Puppet reports (older than 1 month). One side effect of this is that every file that is removed gets added into the state.yaml file. On a small scale this is not a bad thing - it keeps track of what's been culled, etc... On a larger scale (ie. T

[Puppet Users] Re: Another Redundant Puppet Master Servers Thread

2009-06-11 Thread chakkerz
Sounds sensible and straight forward. Thanks for that! chakkerz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe f

[Puppet Users] Re: Puppet Camp Oct 1-2 at SFSU

2009-06-11 Thread David Lutterkort
On Wed, 2009-06-10 at 16:59 +0100, Matt wrote: > A few things from the top of my head: > > 1) What people have done in regard to node management, as well as > dealing with nodes that do not have static DNS names such as when > using Ec2. > 2) Success/failures on scaling puppet out to n clients >

[Puppet Users] Re: Another Redundant Puppet Master Servers Thread

2009-06-11 Thread RijilV
2009/6/11 chakkerz : > Which leads to my two questions: > 1) how do i keep the certs on both prod hosts ? I assume they ID the > host uniquely, so just copying them across is not the way forward, > though i'm planning to use some sort of IP failover between the two > prod hosts, and i'm thinking s

[Puppet Users] Re: Puppetrun timeout

2009-06-11 Thread Pete Emerson
Aha! Excellent. Reference: http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting I haven't played with this piece of puppet yet, but will do so now. Thanks, Pete On Thu, Jun 11, 2009 at 3:55 PM, Luke Kanies wrote: > > On Jun 11, 2009, at 5:52 PM, Pete Emerson wrote: > > > Hrm, I'm run

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Luke Kanies
On Jun 11, 2009, at 5:58 PM, Asif Iqbal wrote: > > On Thu, Jun 11, 2009 at 6:47 PM, Luke Kanies wrote: >> >> On Jun 11, 2009, at 11:36 AM, Asif Iqbal wrote: >> >>> >>> On Thu, Jun 11, 2009 at 11:58 AM, Luke Kanies >>> wrote: On Jun 10, 2009, at 12:50 PM, Asif Iqbal wrote: > I

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Asif Iqbal
On Thu, Jun 11, 2009 at 6:47 PM, Luke Kanies wrote: > > On Jun 11, 2009, at 11:36 AM, Asif Iqbal wrote: > >> >> On Thu, Jun 11, 2009 at 11:58 AM, Luke Kanies wrote: >>> >>> On Jun 10, 2009, at 12:50 PM, Asif Iqbal wrote: >>> In my puppet client I have puppet.conf defined puppet server as

[Puppet Users] Re: Puppetrun timeout

2009-06-11 Thread Luke Kanies
On Jun 11, 2009, at 5:52 PM, Pete Emerson wrote: > Hrm, I'm running it with --foreground so that I know when it's > complete, and I'm getting these execution expired messages, which I > took to mean that puppetrun already has some sort of internal > timeout mechanism. Is that not the case?

[Puppet Users] Re: Puppetrun timeout

2009-06-11 Thread Pete Emerson
Hrm, I'm running it with --foreground so that I know when it's complete, and I'm getting these execution expired messages, which I took to mean that puppetrun already has some sort of internal timeout mechanism. Is that not the case? I guess an alternative would be to run with --no-foreground. If

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Luke Kanies
On Jun 11, 2009, at 11:36 AM, Asif Iqbal wrote: > > On Thu, Jun 11, 2009 at 11:58 AM, Luke Kanies wrote: >> >> On Jun 10, 2009, at 12:50 PM, Asif Iqbal wrote: >> >>> In my puppet client I have >>> puppet.conf defined puppet server as mypuppet >>> >>> server = mypuppet.example.net >>> >>> Not sure

[Puppet Users] Re: Controlling the order of execution of puppet code?

2009-06-11 Thread James Turnbull
Rene wrote: > Does anybody know the status of that patch? > It's pushed and will be in 0.25.0. The next 0.25.0 release will be beta2 but I haven't got a date yet. Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Pu

[Puppet Users] Another Redundant Puppet Master Servers Thread

2009-06-11 Thread chakkerz
So it looks like at least the linux side of things is sorted at my site, which means i'm approaching go-live. With CFengine we've had two servers defined in the configuration, but puppet doesn't seem to do that and there are other issues with this setup (well our current setup of cfengine anyway)

[Puppet Users] Variables in definitions

2009-06-11 Thread DrKJam
Hi, A quick "Hello" to every as this is my first post on the Puppet Users group. I had some training with Teyo in London recently and am busy evaluating Puppet to replace a config engine developed for internal use at my company. Question: Is it possible to refer to variables declared inside rea

[Puppet Users] Re: Controlling the order of execution of puppet code?

2009-06-11 Thread Rene
Does anybody know the status of that patch? On May 29, 10:01 am, Brice Figureau wrote: > On Fri, 2009-05-29 at 08:18 +1000, James Turnbull wrote: > > Brice Figureau wrote: > > > On Thu, 2009-05-28 at 11:55 +0200, Peter Meier wrote: > > >> Hi > > > >>> Only way I know is to make individual object

[Puppet Users] Alternate file source

2009-06-11 Thread Jason Antman
I was wondering if anyone out there has done any work on other URI types for File "source" ? I have a few machines that need some local scripts copied over, which are stored in CVS or Subversion. It would be really helpful if, instead of having to check out the scripts into the module's files/ di

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Asif Iqbal
On Thu, Jun 11, 2009 at 11:58 AM, Luke Kanies wrote: > > On Jun 10, 2009, at 12:50 PM, Asif Iqbal wrote: > >> In my puppet client I have >> puppet.conf defined puppet server as mypuppet >> >> server = mypuppet.example.net >> >> Not sure why the puppet client puppet-test is still sending these >> n

[Puppet Users] Re: puppetd not running on intervals

2009-06-11 Thread Len Rugen
We are just putting our RHEL 4 systems in crontab On Wed, Jun 10, 2009 at 2:31 PM, Christopher wrote: > > Turns out this is a bug in facter which is fixed in 1.5.5. The rpm is > available in epel-testing. > > On Jun 10, 11:18 am, Christopher > wrote: > > I'm having the same exact problem her

[Puppet Users] Re: puppet client looking for server puppet

2009-06-11 Thread Luke Kanies
On Jun 10, 2009, at 12:50 PM, Asif Iqbal wrote: > In my puppet client I have > puppet.conf defined puppet server as mypuppet > > server = mypuppet.example.net > > Not sure why the puppet client puppet-test is still sending these > noises to the syslog > > Jun 10 13:36:23 puppet-test puppetd[10863

[Puppet Users] Re: Puppetrun timeout

2009-06-11 Thread Luke Kanies
On Jun 8, 2009, at 4:39 PM, Pete Emerson wrote: > I'm using puppet 0.24.7-4. I have a situation where I have some very > long running puppet runs in order to do upgrades (removing > applications from load balancers gracefully, et cetera). > > My puppet runs triggered via puppetrun are finishi

[Puppet Users] Re: Puppet Certification?

2009-06-11 Thread Luke Kanies
On Jun 3, 2009, at 6:03 AM, paul matthews wrote: > I realise this could be a long way off as Puppet is rapidly > evolving, with development still at the forefront but are there > plans in the furture to offer a Puppet Certification exam. I know > the subject of certification is not to every

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Felix Schäfer
Am 11.06.2009 um 17:23 schrieb Paul Nasrat: > That all should be part of libc. Try apt-get install build-essential. Actually, libc6-dev was enough. """ Architecture: x86_64 CPU(s):2 Thread(s) per core:1 Core(s) per socket:1 CPU socket(s): 2 NUMA node(s):

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Paul Nasrat
>> gcc -o lscpu lscpu.c > > I get: > """ > lscpu.c:21:19: Fehler: ctype.h: No such file or directory > lscpu.c:22:20: Fehler: dirent.h: No such file or directory > lscpu.c:23:17: Fehler: err.h: No such file or directory > lscpu.c:24:19: Fehler: errno.h: No such file or directory > lscpu.c:25:19: F

[Puppet Users] trying to understand puppet internal

2009-06-11 Thread Arnau Bria
Hi all, I keep doing my own scalability test. Trying to run puppet in all nodes at once. I've started with a fresh puppet+mongrel install (4 cpus, 4 puppetmasterd). I decided to start with a simple test, copying 1MB file to 188 nodes. No node type/group. It worked really fine. Now I'm trying w

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Felix Schäfer
Hi, Am 11.06.2009 um 15:41 schrieb Paul Nasrat: > gcc -o lscpu lscpu.c I get: """ lscpu.c:21:19: Fehler: ctype.h: No such file or directory lscpu.c:22:20: Fehler: dirent.h: No such file or directory lscpu.c:23:17: Fehler: err.h: No such file or directory lscpu.c:24:19: Fehler: errno.h: No such

[Puppet Users] Re: how do I submit a patch?

2009-06-11 Thread Paul Nasrat
2009/6/10 Dick Davies : > > Thanks James. > > Actually it's the same fundamental issue as > >   http://projects.reductivelabs.com/issues/2067 > > so i've amended that ticket. > > I won't send a patch just yet, but at least I can pick through the code > now when I get a spare hour :) Thanks for the

[Puppet Users] Re: Exporting and collecting resources on the multiple hosts problem

2009-06-11 Thread Chris
> If you're running a version affected, upgrade to the 0.24.8 version on > your master. > Ah, that would explain it. I'm running the version that comes with OpenCSW (the solaris package repo.), which is currently at 0.24.7. I'll see if there are any plans to upgrade that in the near future, and

[Puppet Users] Re: Exporting and collecting resources on the multiple hosts problem

2009-06-11 Thread Brice Figureau
Hi, On which version of puppet is running on your puppetmaster? Various versions had some issues with exported/collected resources (0.24.7 was one of them, if I remember correctly). On Thu, June 11, 2009 13:44, Chris wrote: > > I'm using puppet to generate nagios configs in what I guess is the >

[Puppet Users] Exporting and collecting resources on the multiple hosts problem

2009-06-11 Thread Chris
Hi, I'm using puppet to generate nagios configs in what I guess is the 'usual' way; by having each host export config a files for each nagios check using @@file {...tag=nagios...}, which are then collected onto the nagios server with File <<|tag == 'nagios' |>> I have two nagios servers, and I

[Puppet Users] Re: Any way to stop has_variable? throwing errors?

2009-06-11 Thread Trevor Vaughan
One other try: <% if classes.index('httpd') I forgot that tags weren't exposed in the ERB. Trevor On Thu, Jun 11, 2009 at 05:42, Dick Davies wrote: > > Hi Trevor, thanks for the idea. > > On Thu, Jun 11, 2009 at 4:28 AM, Trevor Vaughan wrote: > >> Someone might give you a better answer, b

[Puppet Users] Re: Any way to stop has_variable? throwing errors?

2009-06-11 Thread Dick Davies
I've raised http://projects.reductivelabs.com/issues/2336 against this. To my mind, has_variable?('panda::blood') returning false makes more sense than throwing a parse error :) On Thu, Jun 11, 2009 at 10:42 AM, Dick Davies wrote: > Hi Trevor, thanks for the idea. > > On Thu, Jun 11, 2009 at 4:

[Puppet Users] Re: Any way to stop has_variable? throwing errors?

2009-06-11 Thread Dick Davies
Hi Trevor, thanks for the idea. On Thu, Jun 11, 2009 at 4:28 AM, Trevor Vaughan wrote: > Someone might give you a better answer, but try: > > <% if tags.index('httpd') && has_variable?('httpd::open_firewall') %> > > This *may not* work due to file parsing order, but I *think* that it will. I di

[Puppet Users] Re: Multiple version of the same package

2009-06-11 Thread Trevor Hemsley
Aurelien Degremont wrote: > Hello > > I would like to install different versions of the same package with Puppet. > > The packaging of those package is totally compatible and authorize to > have both installed in the meantime. > > # rpm -i foo-1.1 foo-2.3 > works very well. > > How declare this w

[Puppet Users] Multiple version of the same package

2009-06-11 Thread Aurelien Degremont
Hello I would like to install different versions of the same package with Puppet. The packaging of those package is totally compatible and authorize to have both installed in the meantime. # rpm -i foo-1.1 foo-2.3 works very well. How declare this with Puppet? I only found this workaround for

[Puppet Users] Re: keeping some code out of the repo

2009-06-11 Thread David Schmitt
Dan Bode wrote: > Hi, > > It seems like one of the barriers to the puppet production rollout that > I am working towards will be user adoption. For this purpose, I want to > manage all common tasks with UIs that autogenerate the puppet code, so > that the admins only have to go through the ful