[Puppet Users] Re: Has anyone tried Puppet under Ruby 1.9?

2009-02-17 Thread Jeroen van Meeuwen (GMail)
Trevor Vaughan wrote: > The speed benefits of Ruby 1.9 are amazing overall and I was wondering > if Puppet, as it stands, is deliberately compatible. > > I've tried digging through the mailing lists and might just be missing > it, if so, I apologize for the oversight. > Anyone running both pupp

[Puppet Users] Re: Solaris SSL error

2009-02-17 Thread chakkerz
Ohad ... no they weren't. It still isn't working but it looks like the SSL thing is sorted. Thanks everyone for their help. chakkerz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

[Puppet Users] Re: Schedule oddity

2009-02-17 Thread Matt McLeod
The greatly-simplified case works fine, or at least has done across a couple of platforms for 24 hours. A few hours ago I changed the proof-of-concept package management version to place the schedule inside the class. i.e., rather than: schedule{blah:} define moreblah {..., schedule=>blah} clas

[Puppet Users] Re: Puppet load 100%

2009-02-17 Thread Ohad Levy
This problem exists on debian/ubuntu machines, where it was defined not to wait and continue to try fetching the certificate from the server. I think that it was fixed in the latest puppet packages you could find more info here: http://projects.reductivelabs.com/issues/1689 On Mon, Feb 16, 2009

[Puppet Users] Re: Lock file /var/lib/puppet/state/puppetdlock

2009-02-17 Thread Paul Lathrop
On Mon, Feb 16, 2009 at 7:39 PM, Luke Kanies wrote: > Otherwise I've no idea, because you're the first to run into it > that I know of. > > Note that you should be able to run 'puppetd --enable' to remove that > stale lock file. I periodically run into this issue as well; it only happens on

[Puppet Users] Re: Puppet load 100%

2009-02-17 Thread Mike Renfro
Andrej Simko wrote: > Yes, I know that in my configuration is puppet as the server. But if I > connect my PC somewhere where puppet server is not available it will > try to connect and generate tousands of messages and load of the PC is > 100%. So question is also what if my puppet server will go

[Puppet Users] Re: UK Meetups / Training

2009-02-17 Thread Julian Simpson
With a bit of notice I can do London puppet meetups. But not tomorrow, which is a shame. I probably won't be doing the UKUUG conference. I work just around the corner so I'm very keen to gatecrash the pub to meet Puppet peeps. J. 2009/2/17 Gary Law : > 2009/2/17 Joel Merrick >> >> Hi all! >>

[Puppet Users] Re: UK Meetups / Training

2009-02-17 Thread Joel Merrick
Haha, I'm from Manchester unfortunately. Anyone going to UKUUG? I'll be down there, can't wait.. On Tue, Feb 17, 2009 at 9:03 PM, Gary Law wrote: > 2009/2/17 Joel Merrick > >> Hi all! >> >> Are there any Puppet UK meetups or training etc. ? >> >> > In the past there's been both, but I missed

[Puppet Users] Re: ANNOUNCE: Facter 1.5.4

2009-02-17 Thread Nigel Kersten
On Tue, Feb 17, 2009 at 1:26 PM, James Turnbull wrote: > > Nigel Kersten wrote: >> We're not doing release candidates for Facter? >> > > We did. Announced in all the usual places. Yeah. Somehow I missed it. My fault entirely. --~--~-~--~~~---~--~~ You received t

[Puppet Users] Re: ANNOUNCE: Facter 1.5.4

2009-02-17 Thread James Turnbull
Nigel Kersten wrote: > We're not doing release candidates for Facter? > We did. Announced in all the usual places. James -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linu

[Puppet Users] Re: Puppet load 100%

2009-02-17 Thread Andrej Simko
Yes, I know that in my configuration is puppet as the server. But if I connect my PC somewhere where puppet server is not available it will try to connect and generate tousands of messages and load of the PC is 100%. So question is also what if my puppet server will go down? My client will try to

[Puppet Users] Re: UK Meetups / Training

2009-02-17 Thread Gary Law
2009/2/17 Joel Merrick > Hi all! > > Are there any Puppet UK meetups or training etc. ? > > In the past there's been both, but I missed the last one. If anyone's interested I'm free tomorrow night for a beer... London area ;) Gary -- Gary Law Email: gary...@garylaw.net Chat googletalk/messeng

[Puppet Users] Re: Bizarre error with custom function

2009-02-17 Thread David Lutterkort
On Tue, 2009-02-17 at 07:42 -0800, Jeff wrote: > puppetd --test > notice: Ignoring cache > err: Could not retrieve configuration: return can't jump across > threads at /var/puppet/modules/atg/manifests/init.pp:298 on node > > On that line, I call this custom function: > > module Puppet::Parser::

[Puppet Users] Re: Bizarre error with custom function

2009-02-17 Thread Jeff
Boy, that error message was helpful. Basically it's a scope issue. You have to assign the hash value to a local variable and return that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] Re: Bizarre error with custom function

2009-02-17 Thread Jeff
On Feb 17, 12:53 pm, Jeff wrote: > On Feb 17, 12:43 pm, Luke Kanies wrote: > > > > > On Feb 17, 2009, at 9:42 AM, Jeff wrote: > > > Can anyone tell me what this means? > > > puppetd --test > > > notice: Ignoring cache > > > err: Could not retrieve configuration: return can't jump across > > > th

[Puppet Users] Re: Facter - the future - your input needed

2009-02-17 Thread Rob McBroom
On Jan 29, 4:55 pm, James Turnbull wrote: > > 2.  Additional output formats - JSON, XML? (winces) - Facter already > outputs in YAML. What about LDIF? Since Puppet can pull info from LDAP, it would be nice if facter made it easy to add/update entries in your directory. --~--~-~--~~--

[Puppet Users] Re: Bizarre error with custom function

2009-02-17 Thread Jeff
On Feb 17, 12:43 pm, Luke Kanies wrote: > On Feb 17, 2009, at 9:42 AM, Jeff wrote: > > Can anyone tell me what this means? > > puppetd --test > > notice: Ignoring cache > > err: Could not retrieve configuration: return can't jump across > > threads at /var/puppet/modules/atg/manifests/init.pp:298

[Puppet Users] Re: Has anyone tried Puppet under Ruby 1.9?

2009-02-17 Thread Jeroen van Meeuwen
Trevor Vaughan wrote: > The speed benefits of Ruby 1.9 are amazing overall and I was wondering > if Puppet, as it stands, is deliberately compatible. > > I've tried digging through the mailing lists and might just be missing > it, if so, I apologize for the oversight. > Anyone running both pupp

[Puppet Users] Re: ANNOUNCE: Facter 1.5.4

2009-02-17 Thread Nigel Kersten
On Tue, Feb 17, 2009 at 9:42 AM, Luke Kanies wrote: > > On Feb 17, 2009, at 9:38 AM, Nigel Kersten wrote: > >> >> We're not doing release candidates for Facter? > > The release candidate was published on February 3rd: > > http://groups.google.com/group/puppet-users/browse_thread/thread/8219ac60bd

[Puppet Users] Re: Bizarre error with custom function

2009-02-17 Thread Luke Kanies
On Feb 17, 2009, at 9:42 AM, Jeff wrote: > > Can anyone tell me what this means? > > puppetd --test > notice: Ignoring cache > err: Could not retrieve configuration: return can't jump across > threads at /var/puppet/modules/atg/manifests/init.pp:298 on node > > On that line, I call this custom fu

[Puppet Users] Re: ANNOUNCE: Facter 1.5.4

2009-02-17 Thread Luke Kanies
On Feb 17, 2009, at 9:38 AM, Nigel Kersten wrote: > > We're not doing release candidates for Facter? The release candidate was published on February 3rd: http://groups.google.com/group/puppet-users/browse_thread/thread/8219ac60bd89a502/d4ed636131cf3a9c#d4ed636131cf3a9c -- If you make people

[Puppet Users] Re: Freshness of exported resources

2009-02-17 Thread Luke Kanies
On Feb 17, 2009, at 10:26 AM, Tim Stoop wrote: > > Hi all, > > I talked a bit about this on IRC yesterday and James advised me to > make a ticket and discuss it on the list. I'd like to make use of the > freshness of an exported resources record to see if it should be > disabled or not. Mostly, I

[Puppet Users] Re: Facter - the future - your input needed

2009-02-17 Thread The Anarcat
I'm not sure this is relevant, too late or simply already implemented, but I'd like to have array of facts. A very good example is the "ssh_keys" resource: i'd like to access $ssh_keys['root'] and distributed that as an authorized_keys to other nodes. I need this for my backups. :) I'm sure it

[Puppet Users] Re: my badly broken fact

2009-02-17 Thread Todd Zullinger
Ben Hughes wrote: > I've got this fact, trying to use it with the munin module from DavidS > to work out which drives to graph. Fairly run of the mill, but when ever > I add this in to my facter folder. Puppet barfs with a Timeout::Error > > [r...@foo-vm:~]# invoke-rc.d puppet start > Starting pupp

[Puppet Users] UK Meetups / Training

2009-02-17 Thread Joel Merrick
Hi all! Are there any Puppet UK meetups or training etc. ? Thanks, Joel -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Freshness of exported resources

2009-02-17 Thread Tim Stoop
Hi all, I talked a bit about this on IRC yesterday and James advised me to make a ticket and discuss it on the list. I'd like to make use of the freshness of an exported resources record to see if it should be disabled or not. Mostly, I was hoping to do it in "The Puppet Way", but I'm not really

[Puppet Users] Re: Has anyone tried Puppet under Ruby 1.9?

2009-02-17 Thread Brice Figureau
On Tue, 2009-02-17 at 20:57 +0800, Ohad Levy wrote: > maybe in the spirit of things, did anyone tried on jruby? on the > puppetmaster? Yes I did. And all I got was: http://jira.codehaus.org/browse/JRUBY-3349 But YMMV, it was on mac osx. I didn't try any other platform yet. I asked on IRC, and

[Puppet Users] Re: New Reductive Site

2009-02-17 Thread Brice Figureau
On Tue, 2009-02-17 at 07:48 -0800, Nigel Kersten wrote: > On Tue, Feb 17, 2009 at 1:53 AM, Andrew Shafer > wrote: > > > > Puppeteers, > > > > We put up a new site for Reductive Labs and moved the trac to a new host and > > by the time you get the DNS should have propagated. > > > > If you find a

[Puppet Users] Re: Force puppet client reload?

2009-02-17 Thread Jewels
That is exactly what I was looking for - THANK YOU BOTH! --~--~-~--~~~---~--~~ 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 from

[Puppet Users] Re: New Reductive Site

2009-02-17 Thread Nigel Kersten
On Tue, Feb 17, 2009 at 1:53 AM, Andrew Shafer wrote: > > Puppeteers, > > We put up a new site for Reductive Labs and moved the trac to a new host and > by the time you get the DNS should have propagated. > > If you find any issues with the site or the wiki, please let us know ASAP > and we'll fi

[Puppet Users] Bizarre error with custom function

2009-02-17 Thread Jeff
Can anyone tell me what this means? puppetd --test notice: Ignoring cache err: Could not retrieve configuration: return can't jump across threads at /var/puppet/modules/atg/manifests/init.pp:298 on node On that line, I call this custom function: module Puppet::Parser::Functions require 'inif

[Puppet Users] Re: ANNOUNCE: Facter 1.5.4

2009-02-17 Thread Nigel Kersten
We're not doing release candidates for Facter? On Mon, Feb 16, 2009 at 5:59 PM, James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A new Facter release is available - 1.5.4. > > This is a maintenance release that will be the last of the 1.5.x branch. > > It combines

[Puppet Users] Re: Environments issues

2009-02-17 Thread Bruce Richardson
On Tue, Feb 17, 2009 at 02:02:30PM +, Bruce Richardson wrote: > that this doesn't happen for all of those paths. So I thought that > simply changing $confdir to reflect the environment would sidestep this, > because all of those paths *will* be changed if I globally change > $confdir. I'm a

[Puppet Users] Users with varying group memberships

2009-02-17 Thread Ryan Steele
Hey folks, I have a question regarding users with varying group memberships. If I have two several nodes, and on each node I need user FOO present, but in different groups, is the best approach to that an inheritance chain? For example, a base class 'users', and two other classes 'node1users'

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Tom Brown
> > Yep - the requires/before statements I already mentioned. Read through the > language tutorial page on the puppet website, it's got complete docs on what > you're looking for. > thanks i will pass this on --~--~-~--~~~---~--~~ You received this message be

[Puppet Users] Re: Force puppet client reload?

2009-02-17 Thread Peter Meier
Hi > Without changing the normal 30 minutes timer, I was wondering if there > was a way to have a puppet MASTER force a client to reload somehow? puppetrun is your friend. cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Puppet Users] Re: Force puppet client reload?

2009-02-17 Thread Frank Sweetser
Jewels wrote: > Without changing the normal 30 minutes timer, I was wondering if there > was a way to have a puppet MASTER force a client to reload somehow? > > Here is why - I am giving my help desk access to a webpage on a puppet > Master. It will allow them to edit a single file. I need that f

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Frank Sweetser
Tom Brown wrote: > even though in the configuration files are being copied into the > symlinked directory after the symlink creation in practice the first > thing puppet seems to try to do before anything else is put some files > into current.env which of course fails as thats not created yet.

[Puppet Users] Force puppet client reload?

2009-02-17 Thread Jewels
Without changing the normal 30 minutes timer, I was wondering if there was a way to have a puppet MASTER force a client to reload somehow? Here is why - I am giving my help desk access to a webpage on a puppet Master. It will allow them to edit a single file. I need that file to update to the spe

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Tom Brown
> I don't see anything obviously responsible for creating /var/app/$serviceName > there. Assuming that the package installation creates it, you need to use > before/requires statements to tell puppet to always install the package > before > attempting to create the various config files in lo

[Puppet Users] Re: Environments issues

2009-02-17 Thread Bruce Richardson
On Fri, Feb 13, 2009 at 05:14:22PM -0600, Luke Kanies wrote: > > to /etc/puppet/puppet.conf. However, I assume that would cause me a > > little bit of grief in other ways. If I run puppetd with the > > parameter > > --environment=development but don't also specify the config file from > > the

[Puppet Users] Re: Has anyone tried Puppet under Ruby 1.9?

2009-02-17 Thread Ohad Levy
maybe in the spirit of things, did anyone tried on jruby? on the puppetmaster? On Tue, Feb 17, 2009 at 8:41 PM, Trevor Vaughan wrote: > > Awesome. Thanks Luke. > > Can't wait to see how the performance stacks up. > > Trevor > > On Mon, Feb 16, 2009 at 22:43, Luke Kanies wrote: > > > > On Feb 12,

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Frank Sweetser
Tom Brown wrote: > Hi > > The below is from a colleague who is trying to get puppet to create some > config dir's and then within those dir's put some files. > He expereinces issues where sometimes this works but mostly it does not. > Is this the correct way to be trying to achieve this? > > t

[Puppet Users] Re: Has anyone tried Puppet under Ruby 1.9?

2009-02-17 Thread Trevor Vaughan
Awesome. Thanks Luke. Can't wait to see how the performance stacks up. Trevor On Mon, Feb 16, 2009 at 22:43, Luke Kanies wrote: > > On Feb 12, 2009, at 4:43 AM, Trevor Vaughan wrote: > >> >> The speed benefits of Ruby 1.9 are amazing overall and I was wondering >> if Puppet, as it stands, is d

[Puppet Users] Puppetmasterd not writing log files (with and without mongrel)

2009-02-17 Thread Arnau Bria
Hi all, When I start puppet, I do it like: puppet9343 1 0 11:24 ?00:00:00 /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --servertype=mongrel --logdest=/var/log/puppet/puppetmaster.log --servertype=mongrel --masterport=18140 --pidfile=/var/run

[Puppet Users] error creating directory's

2009-02-17 Thread Tom Brown
Hi The below is from a colleague who is trying to get puppet to create some config dir's and then within those dir's put some files. He expereinces issues where sometimes this works but mostly it does not. Is this the correct way to be trying to achieve this? thanks file {

[Puppet Users] New Reductive Site

2009-02-17 Thread Andrew Shafer
Puppeteers, We put up a new site for Reductive Labs and moved the trac to a new host and by the time you get the DNS should have propagated. If you find any issues with the site or the wiki, please let us know ASAP and we'll fix it. Thanks, Andrew Reductive Labs... The People Behind Puppet --~