[Puppet Users] Re: Installing 0.24.8 as gem on Debian

2009-03-24 Thread Russ Allbery
Graham Stratton writes: > I have just tried to install puppet 0.24.8 as a gem on a clean Debian > Lenny system. The puppetd script is not added to my path. Is this a > bug or have I made a mistake? Gem and real distribution packages collide in unfortunate ways that make it hard to support g

[Puppet Users] Installing 0.24.8 as gem on Debian

2009-03-24 Thread Graham Stratton
I have just tried to install puppet 0.24.8 as a gem on a clean Debian Lenny system. The puppetd script is not added to my path. Is this a bug or have I made a mistake? Full transcript attached. Regards, Graham The programs included with the Debian GNU/Linux system are free software; the

[Puppet Users] Re: files being truncated

2009-03-24 Thread Luke Kanies
On Mar 24, 2009, at 2:29 PM, Tom Brown wrote: > > Hi > > I have some manifests that pretty much just send config files to a > host > when a 'service puppet once' gets run on that client. > > i have noticed that sometimes the files seem to get truncated so that > some of it is missing. Has anyon

[Puppet Users] Re: puppetmasterd - dies unpleasantly if getaddrinfo fails

2009-03-24 Thread Luke Kanies
On Mar 23, 2009, at 2:46 PM, Kyle Cordes wrote: > > Kyle Cordes wrote: > >> A machine I am looking to run puppetmaster on, is having a reverse >> DNS >> problem at the moment (reverse DNS of its IP address fails). Of >> course > > The reverse DNS was indeed broken, but fixing it did not fix

[Puppet Users] Re: Scheduling with subscribe question

2009-03-24 Thread Luke Kanies
On Mar 23, 2009, at 7:21 AM, iuhh wrote: > > Hi guys, > > I am new to puppet and got a question regarding subscribing and > scheduling. As we are going to run puppet on production machines > certain operations can only be performed out-of-hours, e.g. management > of ntp and syslog. > > Take NTP

[Puppet Users] Re: Data-driven server config

2009-03-24 Thread Luke Kanies
On Mar 22, 2009, at 9:28 PM, Barry J wrote: > > I'm new to puppet and am still wrapping my head around it, so I'm sure > this is a newbie question. > > Say I have a large number of mysql databases I want to host on a > collection of database servers. I have a master database somewhere > that say

[Puppet Users] Re: puppetrun could not call puppetrunner.run

2009-03-24 Thread Luke Kanies
On Mar 20, 2009, at 10:54 AM, Jeff wrote: > > Hi folks, > > I've searched around the group and couldn't find something that would > specifically answer my problem. I was trying to use puppetrun to force > an update on a specific host machine but ended up with the following > error: > > # puppetru

[Puppet Users] Re: Custom Types and autonotify?

2009-03-24 Thread Luke Kanies
On Mar 20, 2009, at 9:27 AM, Jim Pirzyk wrote: > > On Mar 20, 2009, at 10:00 AM, Peter Meier wrote: > >> >> Hi >> >>> I just though of another case where this would be useful, running >>> 'newaliases' after /etc/mail/aliases has been updated. What do >>> other people do? I have >>> >>> mailali

[Puppet Users] Re: file list

2009-03-24 Thread Luke Kanies
On Mar 20, 2009, at 1:44 AM, Rene wrote: > > OK, that is what I thought. Then it would be a good practice to use > the full path of the file as title, as I only see the title in yaml. Well, you can pull that or file[:path]. file[:path] will always be the fully-qualified path. > > On Mar 19,

[Puppet Users] Re: Possible bug in 0.24.6 -- crashing puppetmasterd.

2009-03-24 Thread Luke Kanies
On Mar 19, 2009, at 6:05 PM, Trevor Hemsley wrote: > > > > Luke Kanies wrote: >> You should be able to do this with something like: >> >> # puppet.conf >> configfile = /etc/puppet/puppet.conf{owner = root, group = ...} >> >> I'm typing from not-very-good memory here; I don't remember if that's >>

[Puppet Users] Re: rpm failing on RHEL4

2009-03-24 Thread Avi Miller
Hi, On Wed, Mar 25, 2009 at 3:49 AM, Thomas Bikeev wrote: > echo 'package {"apache2": ensure => installed, noop => true, }' | There is no apache2 package in Red Hat Enterprise Linux. You need to install the "httpd" package instead. cYa, Avi --~--~-~--~~~---~--~

[Puppet Users] files being truncated

2009-03-24 Thread Tom Brown
Hi I have some manifests that pretty much just send config files to a host when a 'service puppet once' gets run on that client. i have noticed that sometimes the files seem to get truncated so that some of it is missing. Has anyone ever seen this or know why it might occur?? thanks --~--

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Brice Figureau
On 24/03/09 19:40, Robin Lee Powell wrote: > On Tue, Mar 24, 2009 at 07:33:50PM +0100, Brice Figureau wrote: >> I'll tend to suggest you to rm -rf /usr/lib/ruby/1.8/active_* just >> to see if that helps (take a backup before of course). Warning: >> I'm not responsible of any damage to your server

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Brice Figureau
On 24/03/09 18:28, Robin Lee Powell wrote: > On Mon, Mar 23, 2009 at 02:54:10PM -0700, Robin Lee Powell wrote: >> >> I've been unable to use storeconfigs for A While Now, and it's not >> just me anymore; see http://projects.reductivelabs.com/issues/2041 >> >> Does anyone have any suggestions of wh

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 07:33:50PM +0100, Brice Figureau wrote: > I'll tend to suggest you to rm -rf /usr/lib/ruby/1.8/active_* just > to see if that helps (take a backup before of course). Warning: > I'm not responsible of any damage to your server or any other > application running on this serve

[Puppet Users] Re: I'm struggling with testing configuration changes locally - how to verify templates, syntax, results without checking in manifests

2009-03-24 Thread jawspeak
Thanks everyone. Here's my update, based on hacking around with: http://reductivelabs.com/trac/puppet/wiki/TestingGuide Scenario: my machine I want to test puppet on is also a puppet controlled workstation. So common apache config settings, etc are pushed to it. Thus I first stop puppetd. Then I

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 10:28:28AM -0700, Robin Lee Powell wrote: > > On Mon, Mar 23, 2009 at 02:54:10PM -0700, Robin Lee Powell wrote: > > > > > > I've been unable to use storeconfigs for A While Now, and it's not > > just me anymore; see http://projects.reductivelabs.com/issues/2041 > > > >

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Mon, Mar 23, 2009 at 02:54:10PM -0700, Robin Lee Powell wrote: > > > I've been unable to use storeconfigs for A While Now, and it's not > just me anymore; see http://projects.reductivelabs.com/issues/2041 > > Does anyone have any suggestions of what to try next? Shortly after I sent this, t

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 09:57:31AM +0100, Brice Figureau wrote: > > On Mon, 2009-03-23 at 14:54 -0700, Robin Lee Powell wrote: > > > > I've been unable to use storeconfigs for A While Now, and it's > > not just me anymore; see > > http://projects.reductivelabs.com/issues/2041 > > > > Does anyon

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 10:18:12AM -0700, Robin Lee Powell wrote: > > On Tue, Mar 24, 2009 at 07:52:56PM +1100, James Turnbull wrote: > > > > Robin Lee Powell wrote: > > > > > > I've been unable to use storeconfigs for A While Now, and it's > > > not just me anymore; see > > > http://projects.r

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 07:52:56PM +1100, James Turnbull wrote: > > Robin Lee Powell wrote: > > > > I've been unable to use storeconfigs for A While Now, and it's > > not just me anymore; see > > http://projects.reductivelabs.com/issues/2041 > > > > Does anyone have any suggestions of what to t

[Puppet Users] rpm failing on RHEL4

2009-03-24 Thread Thomas Bikeev
Hi list, I have a problem where any invocation of RPM related functionality fails similar to *) and seem to get stuck: I do: echo 'package {"apache2": ensure => installed, noop => true, }' | puppet -dv --detailed-exitcodes I get "wrong number of arguments" all over the place: debug: Puppet::T

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Brice Figureau
On Mon, 2009-03-23 at 14:54 -0700, Robin Lee Powell wrote: > > I've been unable to use storeconfigs for A While Now, and it's not > just me anymore; see http://projects.reductivelabs.com/issues/2041 > > Does anyone have any suggestions of what to try next? Are you sure you are running Rails 2.0

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin Lee Powell wrote: > > I've been unable to use storeconfigs for A While Now, and it's not > just me anymore; see http://projects.reductivelabs.com/issues/2041 > > Does anyone have any suggestions of what to try next? Robin I presume you've re

[Puppet Users] Re: 'if' syntax

2009-03-24 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith Edmunds wrote: >> Please let me know if this update makes more sense: > > It does, and thank you for updating the page. > > I think it would be further improved by defining what an "in-statement" > and an "around statement" are - the latter,

[Puppet Users] Re: I'm struggling with testing configuration changes locally - how to verify templates, syntax, results without checking in manifests

2009-03-24 Thread Martin Wheldon
Hi, Here is the way summary of the way I work, don't know if it will help. I run a openvz virtualized infrastructure. I use a external node script. I use two enviroments production and testing. Both sets of manifests are kept in subversion. On the puppetmaster I check out the stable (this is pr