[Puppet Users] Re: File contents into a variable (once it exists)

2009-05-19 Thread Peter Meier
Hi > but attempting to jerry-rig the same behavior by reading in an > arbitrary file on the puppetmaster system will not work (without my > kluge approach). So, I guess barring a change in puppet to only fetch > function results when that resource is actually to be created (versus > when

[Puppet Users] Re: Problematic provider dependencies

2009-05-19 Thread Jeremy Thurgood
On Tue, May 19, 2009 at 07:58, Andrew Shafer wrote: > > What version of Puppet are you running? 0.24.4 -- it's the one that's in the Ubuntu Hardy repository. I could upgrade, but I would prefer to avoid the effort of setting up appropriate repositories if I can. > The goal is to be able to set

[Puppet Users] Re: dealing with numbered items in Augeas

2009-05-19 Thread Bryan Kearney
Brent Chapman wrote: > On Mon, May 18, 2009 at 10:53 AM, Trevor Vaughan wrote: > >> While this is kind of kludg-y, might you try building the multipart >> file with Puppet itself: >> >> http://reductivelabs.com/trac/puppet/wiki/Recipes/BuildingMultipartFiles >> >> It's useful for building files w

[Puppet Users] Puppet Meetup Leuven 27/5/2009

2009-05-19 Thread Kris Buytaert
As Teyo will be in Leuven (Belgium) next week for the training , some folks had the idea to meetup after the training for a Puppet Users Meetup. So the plan is to meet for Drinks and Puppettalk, next week wednesday as of 20u00 in the Domus in Leuven http://www.domusleuven.be/ I hope to mee

[Puppet Users] Re: [Puppet-dev] Facter 1.5.5rc2 released!

2009-05-19 Thread Todd Zullinger
James Turnbull wrote: > A new Facter release candidate is available - 1.5.5rc2. The tarball is missing install.rb. -- ToddOpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~ Truth is like a well-known whore. E

[Puppet Users] Re: dealing with numbered items in Augeas

2009-05-19 Thread Trevor Vaughan
Brent, Thanks for the feedback. It felt like a bit of a hack when I wrote it but it very much follows the Puppet mentality of idempotency. I'm just starting to fiddle with Augeas since 90% of my problems fall into the precise declaration arena. Trevor On Mon, May 18, 2009 at 17:16, Brent Chap

[Puppet Users] undefined method `+\' for false:FalseClass

2009-05-19 Thread seph
I'm running into some problems with the iptables module. Or with puppet itself, I'm not really sure. I'm running puppet version 0.24.8-1 on ubuntu using the debian packages. Both on the master and the clients. I'm using the iptables module from http://github.com/camptocamp/puppet-iptables/tree/m

[Puppet Users] Puppet Meetup Leuven 27/5/2009

2009-05-19 Thread Kris Buytaert
As Teyo will be in Leuven (Belgium) next week for the training , some folks had the idea to meetup after the training for a Puppet Users Meetup. So the plan is to meet for Drinks and Puppettalk, next week wednesday as of 20u00 in the Domus in Leuven http://www.domusleuven.be/ I hope to meet

[Puppet Users] Re: [Puppet-dev] Re: Facter 1.5.5rc2 released!

2009-05-19 Thread Todd Zullinger
I wrote: > The tarball is missing install.rb. The documentation and spec dirs are missing as well¹, just in case those were unintentional. I don't suppose creating a distcheck like target is easily done using the ruby tools, as it is with automake, is it? ;) Conversely, would using autotools be

[Puppet Users] newbie-ish question

2009-05-19 Thread David Bishop
I've been tasked with revamping our existing puppet configs, to make them more manageable/extensible/etc. We have four(ish) groups of machines, that all need similar configs, with slight tweaks - depending on which network they're on, etc. Currently, we have a very "deep" inheritance tree, such t

[Puppet Users] Re: [Puppet-dev] Re: Facter 1.5.5rc2 released!

2009-05-19 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd Zullinger wrote: > I wrote: >> The tarball is missing install.rb. > > The documentation and spec dirs are missing as well¹, just in case > those were unintentional. > Todd Thanks for this - I rewrote the Rakefile tasks for the build and suspe

[Puppet Users] Re: [Puppet-dev] Re: Facter 1.5.5rc2 released!

2009-05-19 Thread Paul Nasrat
> > Thanks for this - I rewrote the Rakefile tasks for the build and > suspected their might be teething problems. > > The install.rb is an oversight that I'll fix.  The documentation and > spec directories I deliberately excluded.  The former because I didn't > think anyone still used it - happy

[Puppet Users] puppet recovery problem

2009-05-19 Thread Jeff
Hi, We're doing a disaster recovery exercise and one server is giving us fits. It logs into the puppetmaster and exchanges keys then throws the following error: err: Could not retrieve configuration: Uncaught exception no such file to load - inifile in method puppetmaster.getconfig Any thoughts

[Puppet Users] Re: newbie-ish question

2009-05-19 Thread David Bishop
Okay, that was a fairly general question, this is more specific. While prototyping each of these approaches, I've come across an oddity. I'm trying to use a selector to determine which cluster I'm running on, and chose the file path based on that (again, not for production, just to make sure thi

[Puppet Users] Re: newbie-ish question

2009-05-19 Thread Jason Rojas
Have you tried putting quotes around "dev.mycompany.com" ? On May 19, 2009, at 11:57 AM, David Bishop wrote: > > Okay, that was a fairly general question, this is more specific. > While > prototyping each of these approaches, I've come across an oddity. I'm > trying to use a selector to dete

[Puppet Users] Re: newbie-ish question

2009-05-19 Thread David Bishop
About 5 seconds after hitting send, yes... Oh, and it worked, in case anybody reading this in the future would like to learn from my mistakes. David On Tue, May 19, 2009 at 12:02:49PM -0700, Jason Rojas wrote: > > Have you tried putting quotes around "dev.mycompany.com" ? > > On May 19, 2009,

[Puppet Users] OpenSourceBridge - Configuration Management Panel

2009-05-19 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all Just to let you know about a panel on Open Source Configuration Management at OpenSourceBridge (http://opensourcebridge.org/) in Portland, Oregon on June 18th, 2009. The theme is: Configuration management tools are finally coming into their

[Puppet Users] Custom Type Questions

2009-05-19 Thread zonkhead
I'm trying to write a custom type for puppet that manages iptables (I'm leaving the details of *how* I'm managing the iptables config out of this for now). I think I have everything I basically need to implement this except for how to handle the "notify" metaparameter. I want iptables to restart

[Puppet Users] Re: dealing with numbered items in Augeas

2009-05-19 Thread David Lutterkort
On Fri, 2009-05-15 at 14:41 -0400, Rob McBroom wrote: > However, what seems like a majority of files are broken up into an > "array" of values. Take the `/etc/exports` [example from the wiki][1]. > Existing items are assigned numbers 1-4 by Augeas when the file is > loaded. > If you add a

[Puppet Users] Re: dealing with numbered items in Augeas

2009-05-19 Thread David Lutterkort
On Fri, 2009-05-15 at 14:41 -0400, Rob McBroom wrote: > However, what seems like a majority of files are broken up into an > "array" of values. Take the `/etc/exports` [example from the wiki][1]. > Existing items are assigned numbers 1-4 by Augeas when the file is > loaded. I should have lo

[Puppet Users] facter lsbdistid returns no result

2009-05-19 Thread kymas
Hi all, I am creating a recipe for rhel boxes which needs to determine what type of install is present (server or client). I thought I would use the facter fact lsbdistid for this purpose but when I run "facter lsbdistid" from the command line nothing is returned. If I just run facter and grep

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread Jason Rojas
is the redhat-lsb rpm installed? On May 19, 2009, at 1:48 PM, kymas wrote: > > Hi all, I am creating a recipe for rhel boxes which needs to > determine what type of install is present (server or client). I > thought I would use the facter fact lsbdistid for this purpose but > when I run "facte

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread kymas
Yes, redhat-lsb-3.1-12.3.EL is installed. On May 19, 3:55 pm, Jason Rojas wrote: > is the redhat-lsb rpm installed? > > On May 19, 2009, at 1:48 PM, kymas wrote: > > > > > Hi all,  I am creating a recipe for rhel boxes which needs to > > determine what type of install is present (server or clien

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread James Turnbull
This is a known issue with Facter 1.5.x. Not all facts return when run using: # facter factname The fact is still available when you run facter without the name of the fact. If you want to use the value of a fact in another fact then there are a number of examples in the facter code. Re

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread kymas
Ok, thanks for the information. On May 19, 4:05 pm, James Turnbull wrote: > This is a known issue with Facter 1.5.x.  Not all facts return when   > run using: > > # facter factname > > The fact is still available when you run facter without the name of   > the fact. > > If you want to use the va

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread Paul Nasrat
2009/5/19 James Turnbull : > > This is a known issue with Facter 1.5.x.  Not all facts return when > run using: > > # facter factname > We will address the root cause for 1.6.x and 2.0, the changes are just too invasive for 1.5.x Paul --~--~-~--~~~---~--~~ You re

[Puppet Users] Re: newbie-ish question

2009-05-19 Thread Rob McBroom
On 2009-May-19, at 11:45 AM, David Bishop wrote: > This is... unwieldy. To put it mildly. Among other things, we > were duplicating anything that should be applied to all webservers > (for > example), as there is no class that all webservers belong to. You could assign an arbitrary number of

[Puppet Users] Cert

2009-05-19 Thread Drew Morone
Having a problem with cert negotiation between client and server. client: CentOS 4.4 2.6.9 kernel ruby 1.8.1-7 puppet 0.24.8 Server: Debian 4 2.6.9 kernel ruby 1.8.7 0.24.8-1 Client: Launch puppetd with -w30 Server: puppetca --list shows client server. I puppetca --sign it. Then on the clien

[Puppet Users] Re: [Puppet-dev] Re: Facter 1.5.5rc2 released!

2009-05-19 Thread Todd Zullinger
James Turnbull wrote: > Thanks for this - I rewrote the Rakefile tasks for the build and > suspected their might be teething problems. :) Is the new Rakefile still the same as the patch you sent in http://groups.google.com/group/puppet-dev/msg/0d0bb27389321fa8 ? I applied that to test and notice

[Puppet Users] Struggling to understand classes, nodes, and case statements

2009-05-19 Thread jkotran
I am struggling with a multiple operating system Puppet setup. My Ubuntu client complains that "Configuration could not be instantiated" and the warning message references a module that is for OpenSolaris clients only (blastwave). Please help me if you can. I have been spinning my wheels for ho