[Puppet Users] Serious issue with 0.25.1, at wits end

2009-11-04 Thread Paul Lathrop
Hi guys, I'm attempting to move forward with our upgrade to 0.25.1, but today I hit a show-stopper. When running 0.25.1 behind Passenger I'm seeing the following behavior. I'll start up apache+passenger+puppetmasterd fresh, and run puppetd -t on a client. The *next* client I run will attempt to

[Puppet Users] Re: Any ideas about this error with upgrading to 0.25.1?

2009-11-04 Thread Avi Miller
Hi, Brandon Evans wrote: > I'm pretty sure the auth.conf is required in puppet 0.25.x. Try adding > the default one to your puppet conf directory on the puppetmaster. I'm happily running 0.25.1 without an auth.conf and haven't seen any issues. cYa, Avi --~--~-~--~~~---

[Puppet Users] Re: Any ideas about this error with upgrading to 0.25.1?

2009-11-04 Thread Brandon Evans
Larry Ludwig wrote: > Hi I'm getting this error with a 0.25.1 puppetmaster and 0.25.1 node. > I'm using passenger and do not have an auth.conf file.. Any ideas? I'm pretty sure the auth.conf is required in puppet 0.25.x. Try adding the default one to your puppet conf directory on the puppetmast

[Puppet Users] Re: authentication issue with passenger (resolved)

2009-11-04 Thread Paul Lathrop
How did you resolve this? I'm having this problem now. On Mon, Sep 28, 2009 at 9:16 AM, Allan Marcus wrote: > > I think I have it working now. > > --- > Thanks, > > Allan Marcus > 505-667-5666 > > > > On Sep 28, 2009, at 10:13 AM, Allan Marcus wrote: > >> yes, I have all those settings. Attached

[Puppet Users] Re: user::virtual and selectivly removing users

2009-11-04 Thread Russ Allbery
Christopher writes: > From what I remember (and after looking at the RH docs on users) , UIDs > from 1-499 are for system users, and UIDs from 500 and up are for > regular users. > Luke, James, et al.: > Is it a bug that the code uses less than or equal to 500? I would think > it should be le

[Puppet Users] Re: user::virtual and selectivly removing users

2009-11-04 Thread Christopher
Hello... On Tue, 2009-11-03 at 17:00 -0800, Russ Allbery wrote: > Christopher writes: > > > I have an existing puppet infrastructure, part of which manages adding > > and removing users from our servers. Now I would like to manage users > > in a way similar to the best practices > > http://r

[Puppet Users] Re: How can I tell what version of puppet is installed?

2009-11-04 Thread Allan Marcus
done Bug #2785 --- Thanks, Allan Marcus 505-667-5666 On Oct 30, 2009, at 9:30 AM, Nigel Kersten wrote: > > On Fri, Oct 30, 2009 at 8:16 AM, Allan Marcus wrote: >> >> is the "rc1" or "rc2" stored anywhere in any of the puppet files? > > I'm not storing the changelog anywhere in the Mac pack

[Puppet Users] Re: Tomcat Virtual-Host Entries - Dynamically Generating an Array with No Repeats from Different Classes

2009-11-04 Thread Dan Bode
Hi Brian, you are definitely on the right track with virtual resources. Here is what I recommend. 1. Create virtual resources that specify all of the possibly virtual host entries as files 2. use realize to specify which file snippets should be used by which classes. 3. In the tomcat module, have

[Puppet Users] Re: Duplicate parameter 'require'

2009-11-04 Thread Gustavo Soares
all right! that explains everything! I've tried to find any example like yours (require => [ User["puppet"], File["/var/lib/puppet/.ssh"] ]) on the wiki, but I hadn't found. thank you!! On Wed, Nov 4, 2009 at 4:01 PM, R.I.Pienaar wrote: > > Hello, > > - "Gustavo Soares" wrote: > > > Hi!

[Puppet Users] new release of puppetsurvey

2009-11-04 Thread Philip
I have released a new version of puppetsurvey on sourfeforge. Please have a look at http://puppetsurvey.sourceforge.net and let me know your feedback. Thank you Philip --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Building a 3rd party configuration file based on imported modules

2009-11-04 Thread Dan Bode
Hi Kim, there are two separate practices that can be used to achieve this effect. 1. Each module can manage its own snippet for the config file as a File resource these fragment are just stored in some puppet specific directory on the local host 2. The module responsible for the config fil

[Puppet Users] Re: Puppet + Augeas + dhcpd.conf

2009-11-04 Thread David Lutterkort
On Thu, 2009-10-29 at 15:56 -0500, Carl Caum wrote: > Has anyone used augeas to manage the dhcpd.conf file? I really don't > want to have a series of .d directories to build this thing. Each > subnet needs to be a resource and each static host entry inside the > subnet needs to be its own

[Puppet Users] Re: Duplicate parameter 'require'

2009-11-04 Thread R.I.Pienaar
Hello, - "Gustavo Soares" wrote: > Hi!! > > I was using puppet 0.24.8 and I have recently upgraded to version > 0.25.1. (I am using puppet + passenger configuration) > > I have noticed that when I have to requires in a manifest, the > following error is raised: > > err: Could not retriev

[Puppet Users] Duplicate parameter 'require'

2009-11-04 Thread Gustavo Soares
Hi!! I was using puppet 0.24.8 and I have recently upgraded to version 0.25.1. (I am using puppet + passenger configuration) I have noticed that when I have to requires in a manifest, the following error is raised: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplica

[Puppet Users] Announcement: Foreman 0.1-2 is out

2009-11-04 Thread Ohad Levy
Hello All, I'm happy to announce the next stable release of Foreman (0.1-2), main new features include: - General - LDAP / AD Authentication support. - Audit Log - keeps information about changed host values (e.g. host environment, external node parameters etc). - Added

[Puppet Users] Simple script for restoring puppet hosted files from local backup

2009-11-04 Thread Kenneth Holter
Hi. I found this script to retrieve backed up puppet hosted files: http://markmail.org/message/nybqh3be7bcge33h ..and made some adjustsments. I've pasted the script below in case anyone else are in need of such a script: --- snip --- #!/bin/bash file=$1 BUCKETDIR=$( puppetd --configprint client

[Puppet Users] Re: Looking for ideas on how to get details of managed resources on the puppet client.

2009-11-04 Thread Trevor Vaughan
Just so you know, I couldn't get the code to work as presented. I had to change the line: svc = Puppet::Type.type(:service).new(:name => service, :hasstatus => hasstatus).provider to: svc = Puppet::Type.type(:service).create(:name => service, :hasstatus => hasstatus).provider Then, it worked

[Puppet Users] Re: Problem with augeas on Ubuntu 8.04

2009-11-04 Thread Adam Ryczkowski
Alright, I made the augeas working. The point I have missed is that one should paste deb-src(...) from Karmic Koala into /etc/apt/ sources.list. I have never before backported anything. But then there happened another problem: after I install the augeas on puppet client (not master) and try to ru

[Puppet Users] Re: Looking for ideas on how to get details of managed resources on the puppet client.

2009-11-04 Thread Trevor Vaughan
Very cool! Much appreciated. Trevor On Wed, Nov 4, 2009 at 07:41, R.I.Pienaar wrote: > > hello, > > - "Trevor Vaughan" wrote: > >> On this same note, how would I go about using the Puppet service >> provider in ruby code to turn off unwanted services?  I just hand >> jammed it for now, bu

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread lluis
El dc 04 de 11 de 2009 a les 13:43 +0100, en/na Teyo Tyree va escriure: > > > On Wed, Nov 4, 2009 at 12:53 PM, lluis wrote: > > El dc 04 de 11 de 2009 a les 12:06 +0100, en/na Brice Figureau > va > escriure: > > > On Wed, 2009-11-04 at 11:51 +0

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread Teyo Tyree
On Wed, Nov 4, 2009 at 12:53 PM, lluis wrote: > > El dc 04 de 11 de 2009 a les 12:06 +0100, en/na Brice Figureau va > escriure: > > On Wed, 2009-11-04 at 11:51 +0100, lluis wrote: > > > El dc 04 de 11 de 2009 a les 11:21 +0100, en/na Peter Meier va > escriure: > > > > Hi > > > > > > > > > I have

[Puppet Users] Re: Looking for ideas on how to get details of managed resources on the puppet client.

2009-11-04 Thread R.I.Pienaar
hello, - "Trevor Vaughan" wrote: > On this same note, how would I go about using the Puppet service > provider in ruby code to turn off unwanted services? I just hand > jammed it for now, but it would be nice to use the abstraction that > is so nicely provided. see http://www.devco.net/ar

[Puppet Users] Re: Looking for ideas on how to get details of managed resources on the puppet client.

2009-11-04 Thread Trevor Vaughan
Well, I ended up writing a script that pulls the information from the localconfig.yaml file and then stole bits from ralsh to see what services were on the system and turned off everything that shouldn't be active. And yes, I do want to specify all services that should be running on the system.

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread lluis
El dc 04 de 11 de 2009 a les 12:06 +0100, en/na Brice Figureau va escriure: > On Wed, 2009-11-04 at 11:51 +0100, lluis wrote: > > El dc 04 de 11 de 2009 a les 11:21 +0100, en/na Peter Meier va escriure: > > > Hi > > > > > > > I have several modules that need to export the same sshkey resources >

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread Brice Figureau
On Wed, 2009-11-04 at 11:51 +0100, lluis wrote: > El dc 04 de 11 de 2009 a les 11:21 +0100, en/na Peter Meier va escriure: > > Hi > > > > > I have several modules that need to export the same sshkey resources > > > with different tags each one, for example: > > > > > > # module backups > > > @@s

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread lluis
El dc 04 de 11 de 2009 a les 11:21 +0100, en/na Peter Meier va escriure: > Hi > > > I have several modules that need to export the same sshkey resources > > with different tags each one, for example: > > > > # module backups > > @@sshkey { $fqdn: > > key => $sshrsakey, > > type => "rsa",

[Puppet Users] Re: Using before=> in a definition...

2009-11-04 Thread Peter Meier
Hi > I hope I haven't dug myself into a corner here... How can I make sure > that /some/file.xml is created BEFORE the jboss-tfel0 service is > started? > > I can't use before => in the file{} in the jboss class because it > doesn't exist there. why not? try: define create_jboss_inst($inst,

[Puppet Users] Re: exporting a sshkey several times

2009-11-04 Thread Peter Meier
Hi > I have several modules that need to export the same sshkey resources > with different tags each one, for example: > > # module backups > @@sshkey { $fqdn: > key => $sshrsakey, > type => "rsa", > tag => "backups_$fqdn", > } > > # module ssh > @@sshkey { $fqdn: > key => $sshr

[Puppet Users] exporting a sshkey several times

2009-11-04 Thread lluis
Hello, I have several modules that need to export the same sshkey resources with different tags each one, for example: # module backups @@sshkey { $fqdn: key => $sshrsakey, type => "rsa", tag => "backups_$fqdn", } # module ssh @@sshkey { $fqdn: key => $sshrsakey, type => "rsa