Re: [Puppet Users] rrd library missing

2010-01-22 Thread Lindsay Holmwood
On 22 January 2010 18:58, Ohad Levy wrote: > > On Fri, Jan 22, 2010 at 9:00 AM, Silviu Paragina wrote: >> >> Are you using by any chance any trunk version of puppet? >> >> As far as I know puppet currently (0.25.4) uses RubyRRDTool gem which is >> not the same as the ruby rrd library bundled in R

[Puppet Users] Re: port 8139 not opening up

2010-01-22 Thread lovewadhwa
Thanx a lot.I installed the client version same as server and it worked finr.Thanx a lot On Jan 20, 10:51 am, Ohad Levy wrote: > clients must be equal or older then the server... are you sure your setup is > working? > > On Wed, Jan 20, 2010 at 1:39 PM, lovewadhwa wrote: > > my server being on

[Puppet Users] Re: port 8139 not opening up

2010-01-22 Thread lovewadhwa
Thanx a lot.I installed the client version same as server and it worked finr.Thanx a lot On Jan 20, 10:51 am, Ohad Levy wrote: > clients must be equal or older then the server... are you sure your setup is > working? > > On Wed, Jan 20, 2010 at 1:39 PM, lovewadhwa wrote: > > my server being on

[Puppet Users] Re: rrd library missing

2010-01-22 Thread John Lyman
> Are you using by any chance any trunk version of puppet? I am running puppet 0.25.3 on Solaris, installed using the gem. > As far as I know puppet currently (0.25.4) uses RubyRRDTool gem which is > not the same as the ruby rrd library bundled in RRDtools (despite the fact > that the bundled vers

[Puppet Users] Re: Inheritance versus inclusion

2010-01-22 Thread jcbollinger
On Jan 21, 4:33 pm, Peter Meier wrote: > > Does anyone have a good resource for describing the differences > > between including and inheriting classes? > > I use the approach "inclusion over inheritance". Only inherit stuff if   > you need to overwrite things. Not only is that an outstanding a

[Puppet Users] Re: Inheritance versus inclusion

2010-01-22 Thread pjh
Thank you all for the feedbackon my 4th time through the tutorial I got my light-bulb :) On Jan 22, 9:05 am, jcbollinger wrote: > On Jan 21, 4:33 pm, Peter Meier wrote: > > > > Does anyone have a good resource for describing the differences > > > between including and inheriting classes? > >

[Puppet Users] Re: Puppetd --listen

2010-01-22 Thread Breeze
I have the listen=true under the [puppetd] section. /usr/sbin/puppetd --configprint listen false Hope that info helps. Also, BTW, I am using version 0.24.8 Thanks, Chris On Jan 21, 6:32 pm, Teyo Tyree wrote: > On Thu, Jan 21, 2010 at 3:03 PM, Breeze wrote: > > Hey Everyone, > > I have a q

[Puppet Users] Re: Puppetd --listen

2010-01-22 Thread Breeze
Teyo, Thanks for suggesting the --configprint option. I think it has helped me uncover some deeper problem. For background, we cannot run puppetd as root in the environment I am trying to set it up. It seemed like puppet was working ok in this fashion until I ran puppetd --configprint confdir a

Re: [Puppet Users] Re: Puppetd --listen

2010-01-22 Thread Scott Smith
On 1/22/10 9:13 AM, Breeze wrote: The lesson I learned then, is that when not running puppetd as root / etc/puppet dir is not the correct place to make config file changes. Although, I'd still like it to be, if you have suggestions on that. Check out --confdir -scott -- You received this mess

[Puppet Users] Best method for using array variables in classes

2010-01-22 Thread James Cammarata
Hi, we're trying to re-use some variables that are currently used for templating a configuration file. We found out these same hosts need to be in our /etc/hosts file as well, so we'd like to use the built-in host type to do this, but since our list of hosts is stored as an array, I'm having some

[Puppet Users] facter question

2010-01-22 Thread Allan Marcus
int he example below I run facter looking for the fact "sp_serial_number". as you can see, the command facter sp_serial_number returns nothing, but the fact is there and is returned when just running facter and grepping for the fact. Some fact seem to work and others do not. any ideas? marcuspr

Re: [Puppet Users] Best method for using array variables in classes

2010-01-22 Thread John T. Guthrie
On 01/22/2010 12:35 PM, James Cammarata wrote: But puppet does not seem to like indexing variables inside classes, and I can't find anywhere in the language reference where to do this currently. Also, despite the fact that the split() function is in the function reference, I am getting the follow

Re: [Puppet Users] facter question

2010-01-22 Thread Nigel Kersten
On Fri, Jan 22, 2010 at 11:18 AM, Allan Marcus wrote: > int he example below I run facter looking for the fact "sp_serial_number". > as you can see, the command facter sp_serial_number returns nothing, but the > fact is there and is returned when just running facter and grepping for the > fact. >

Re: [Puppet Users] Best method for using array variables in classes

2010-01-22 Thread James Cammarata
On Fri, 22 Jan 2010 14:17:26 -0500, "John T. Guthrie" wrote: > On 01/22/2010 12:35 PM, James Cammarata wrote: >> But puppet does not seem to like indexing variables inside classes, and I >> can't find anywhere in the language reference where to do this currently. >> Also, despite the fact that th

Re: [Puppet Users] facter question

2010-01-22 Thread Nigel Kersten
On Fri, Jan 22, 2010 at 11:23 AM, Nigel Kersten wrote: > > > On Fri, Jan 22, 2010 at 11:18 AM, Allan Marcus wrote: > >> int he example below I run facter looking for the fact "sp_serial_number". >> as you can see, the command facter sp_serial_number returns nothing, but the >> fact is there and

[Puppet Users] Re: facter question

2010-01-22 Thread Mark Plaksin
Nigel Kersten writes: > On Fri, Jan 22, 2010 at 11:18 AM, Allan Marcus wrote: > >> int he example below I run facter looking for the fact "sp_serial_number". >> as you can see, the command facter sp_serial_number returns nothing, but the >> fact is there and is returned when just running facter

Re: [Puppet Users] Re: facter question

2010-01-22 Thread Nigel Kersten
On Fri, Jan 22, 2010 at 11:28 AM, Mark Plaksin wrote: > Nigel Kersten writes: > > > On Fri, Jan 22, 2010 at 11:18 AM, Allan Marcus wrote: > > > >> int he example below I run facter looking for the fact > "sp_serial_number". > >> as you can see, the command facter sp_serial_number returns nothin

Re: [Puppet Users] Best method for using array variables in classes

2010-01-22 Thread John T. Guthrie
On 01/22/2010 02:25 PM, James Cammarata wrote: On Fri, 22 Jan 2010 14:17:26 -0500, "John T. Guthrie" wrote: On 01/22/2010 12:35 PM, James Cammarata wrote: But puppet does not seem to like indexing variables inside classes, and I can't find anywhere in the language refe

Re: [Puppet Users] Best method for using array variables in classes

2010-01-22 Thread James Cammarata
> One workaround is to create your own function mysplit() that duplicates > the functionality of the 0.25 split() function. I suppose if you wanted > to, you could even grab the split.rb file from the latest puppet source > code, and use that as a custom function if you are not ready to upgrad

Re: [Puppet Users] 1.8.5 memory leaks for clients

2010-01-22 Thread Carl Caum
I haven't noticed any problems from my clients. That doesn't mean after a while (a year?) you won't want to restart puppetd. I restart puppetmasterd about every month. Someday I'll care enough to build my own RPMs. On Jan 13, 2010, at 5:49 AM, SyRenity wrote: > Hi. > > I understand it's adv

Re: [Puppet Users] hosts update trouble

2010-01-22 Thread Carl Caum
I've run in to the same problem. I've started to solve this problem by getting rid of puppetmasters and puppetd. Instead I'm building a new management tool called Puppeteer. I'm almost ready to begin testing, but it's not ready for others to try yet. I'll post to the list when it's read for

Re: [Puppet Users] Best method for using array variables in classes

2010-01-22 Thread Thomas Bellman
James Cammarata wrote: Hi, we're trying to re-use some variables that are currently used for templating a configuration file. We found out these same hosts need to be in our /etc/hosts file as well, so we'd like to use the built-in host type to do this, but since our list of hosts is stored as

Re: [Puppet Users] hosts update trouble

2010-01-22 Thread Christopher Johnston
How do you disable autorun? Sent from my iPhone On Jan 22, 2010, at 3:29 PM, Carl Caum wrote: I've run in to the same problem. I've started to solve this problem by getting rid of puppetmasters and puppetd. Instead I'm building a new management tool called Puppeteer. I'm almost ready to

[Puppet Users] cron resource in CentOS 5

2010-01-22 Thread robbyt
Hi All, For some reason, I'm unable to manage cron resources on my CentOS5 server: manifest: cron { "test": command => '/bin/true', user=> 'root', hour => '1', } And when I try to run this via puppetmasterd: info: Caching catalog for ny-dev84.domain.com err: Could not pre

Re: [Puppet Users] cron resource in CentOS 5

2010-01-22 Thread Todd Zullinger
robbyt wrote: > For some reason, I'm unable to manage cron resources on my CentOS5 > server: > > manifest: > > cron { "test": > command => '/bin/true', > user=> 'root', > hour => '1', > } > > And when I try to run this via puppetmasterd: > > info: Caching catalog for ny-dev84.

Re: [Puppet Users] cron resource in CentOS 5

2010-01-22 Thread Dan Bode
On Fri, Jan 22, 2010 at 6:52 PM, robbyt wrote: > Hi All, > > For some reason, I'm unable to manage cron resources on my CentOS5 > server: > > manifest: > > cron { "test": >command => '/bin/true', >user=> 'root', >hour => '1', > } > > And when I try to run this via puppetmaster

[Puppet Users] MySQL replication setup with puppet

2010-01-22 Thread mathie
Hello, I'm new to puppet (3 days and learning). I've been able to setup the packages, service, users, so on. Is there any existing recipe to setup replication automatically using puppet? The puppetmaster is also the MySQL master and the replication slave is the new machine being setup via puppet.

Re: [Puppet Users] Re: reload/restarting puppetd after puppet.conf change

2010-01-22 Thread Eric Gerlach
On Thu, Jan 21, 2010 at 11:17:29AM -0800, JL wrote: > > If I recall, my Puppet Master wasn’t destroyed until I restarted it (I > > think it ran for a while with a nearly empty config), so no. But that was a > > pretty stressful day, so I could be remembering wrong. :) > > It looks like puppetmas

Re: [Puppet Users] best way to make puppet temporarily ignore a file?

2010-01-22 Thread Eric Gerlach
Or, perhaps this is a case for an extlookup? I'm not fully familiar with that function yet, but my inclination is that it might fit the bill. Cheers, Eric On Wed, Jan 20, 2010 at 09:25:19AM +0800, Ohad Levy wrote: > what about allowing the users to modify the tag lists? > Ideally, you would nee