Re: [Puppet Users] File paths must be fully qualified

2010-03-05 Thread Haris Farooque
yes, I tried in the same way, here is my manifest; filesever.conf: -- [SLESSUDO] path /etc/puppet/modules/sudo/files/ allow *.mydomain.com - $sourcepath = $operatingsystem ? { AIX =

Re: [Puppet Users] File paths must be fully qualified

2010-03-05 Thread Ohad Levy
On Fri, Mar 5, 2010 at 5:13 PM, Haris Farooque mfha...@fleetboard.comwrote: yes, I tried in the same way, here is my manifest; err: Could not run Puppet configuration client: Parameter path failed: File paths must be fully qualified, not 'puppet:/SLES_SUDO/sudoers' at */

Re: [Puppet Users] File paths must be fully qualified

2010-03-05 Thread Ohad Levy
sorry, I assu,e SLES_SUDO is not your servername, so in this case it should be: puppet:///SLES_SUDO/.. On Fri, Mar 5, 2010 at 5:29 PM, Ohad Levy ohadl...@gmail.com wrote: On Fri, Mar 5, 2010 at 5:13 PM, Haris Farooque mfha...@fleetboard.comwrote: yes, I tried in the same way, here is my

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-05 Thread Matthew Macdonald-Wallace
I've had a thought about this overnight (my brain seems to work better when I'm asleep!) Is there a newer version of the foreman.rb report intended for use with puppetmaster 0.25.x? I know the config.ru changed for the RACK application, I'm wondering if I need to make further changes. Thanks,

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-05 Thread Matt
+1 for this. I also like just taking the base repo and then just create your own custom one with packages you approve. It's pretty easy to do with createrepo. Matt On 4 March 2010 20:36, Pete Emerson pemer...@gmail.com wrote: I'd also recommend (based on previous shooting myself in the foot)

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-05 Thread Matt
On 5 March 2010 10:11, Matthew Macdonald-Wallace mattmacw...@gmail.comwrote: I've had a thought about this overnight (my brain seems to work better when I'm asleep!) Is there a newer version of the foreman.rb report intended for use with puppetmaster 0.25.x? I know the config.ru changed

[Puppet Users] Dependency cycles, please help.

2010-03-05 Thread Julien Cornuwel
Hi, I'm having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe - $apache2_sites = /etc/apache2/sites $apache2_mods =

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-05 Thread Matthew Macdonald-Wallace
Um, yeah, so that's completely different to what I've got... :( I'll get a copy of that script and install it now. On 5 March 2010 10:38, Matt mattmora...@gmail.com wrote: On 5 March 2010 10:11, Matthew Macdonald-Wallace mattmacw...@gmail.com wrote: I've had a thought about this overnight

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-05 Thread Ohad Levy
Matt actually has the older version (the diff between them is SSL support). can you check your puppet master logs? does it say something like processing report for foreman ? does your clients have the report=true option? Ohad On Fri, Mar 5, 2010 at 7:53 PM, Matthew Macdonald-Wallace

Re: [Puppet Users] syntax

2010-03-05 Thread Len Rugen
But they don't seem to work IN A TEMPLATE On Fri, Mar 5, 2010 at 1:16 AM, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So can someone point to working regex template example? First answer of Ohad to your question: you might want to try

[Puppet Users] ssh authorized keys fails

2010-03-05 Thread Ben Lavender
Can someone tell me what's wrong here? Or should I reopen #2487, http://projects.reductivelabs.com/issues/2487 ? I have this config: === class devusers { dev_user { ben: uid = 510, keytype = ssh-rsa, keyname = b...@7.106.cp, key = blahblah } dev_user { yuri: uid =

Re: [Puppet Users] syntax

2010-03-05 Thread Len Rugen
Maybe the dash in -% is the problem, I was tunnel visioned on the regex part. On Fri, Mar 5, 2010 at 6:58 AM, Len Rugen lenru...@gmail.com wrote: But they don't seem to work IN A TEMPLATE On Fri, Mar 5, 2010 at 1:16 AM, Peter Meier peter.me...@immerda.chwrote: -BEGIN PGP SIGNED

[Puppet Users] Re: Dependency cycles, please help.

2010-03-05 Thread Julien Cornuwel
2010/3/5 Julien Cornuwel cornu...@gmail.com Hi, I'm having trouble writing a recipe to handle apache/passenger. [...] When my client node runs that, I get the following error : Could not apply complete catalog: Found dependency cycles in the following relationships: Exec[/usr/sbin/a2enmod

Re: [Puppet Users] ssh authorized keys fails

2010-03-05 Thread Peter Meier
Zitat von Ben Lavender blaven...@gmail.com: Can someone tell me what's wrong here? Or should I reopen #2487, http://projects.reductivelabs.com/issues/2487 ? [...] . . debug: //devusers/Dev_user[yuri]/ ssh_authorized_key[y...@devhost2.dev.cp]: Changing ensure debug: //devusers/Dev_user[yuri]/

[Puppet Users] Re: ssh authorized keys fails

2010-03-05 Thread Ben Lavender
*slap forehead* This is on 0.25.4, the latest gem as of ~2 weeks ago. Thanks, Ben On Mar 5, 2:18 pm, Peter Meier peter.me...@immerda.ch wrote: Zitat von Ben Lavender blaven...@gmail.com: Can someone tell me what's wrong here?  Or should I reopen #2487,

Re: [Puppet Users] exec - creates question

2010-03-05 Thread Allan Marcus
The method you suggest is how we were first going to do a one time script, but then we saw the creates parameter. What is the Creates parameter for then? Is it just redundant to [unless = test -e MYFILE] --- Thanks, Allan Marcus 505-667-5666 On Mar 4, 2010, at 2:36 PM, Steven VanDevender

Re: [Puppet Users] exec - creates question

2010-03-05 Thread Patrick
On Mar 5, 2010, at 8:46 AM, Allan Marcus wrote: The method you suggest is how we were first going to do a one time script, but then we saw the creates parameter. What is the Creates parameter for then? Is it just redundant to [unless = test -e MYFILE] --- Mostly, it's just a nicer

[Puppet Users] Re: variable containing applied classes?

2010-03-05 Thread jb
I see your point...after looking at the classes.txt file it does have a lot more than what I want. I'm in particular looking for classes that affect app deployment/management for the engineers so they can easily see what is under puppet control...they don't need to need to see the myriad of OS

[Puppet Users] About autosigning and the FAQ entry

2010-03-05 Thread Claus Divossen
Hello! The FAQ contains an entry about autosigning: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#why-shouldn-t-i-use-autosign-for-all-my-clients It says: The certificate itself is stored, so two nodes could not connect with the same CN I tried this (using 0.25.4),

[Puppet Users] puppet.conf problem after upgrading

2010-03-05 Thread byron appelt
I have been running puppet v0.24.5 installed via a debian package on Ubuntu. I am trying to upgrade to 0.25.4 installed via rubygem. Now when I try to run it I get the following error: (Puppet::Error)puppet.conf:[main]ings.rb:1028:in `parse_file': Could not match line [main] from

Re: [Puppet Users] syntax

2010-03-05 Thread Dick Davies
On Thu, Mar 4, 2010 at 5:43 PM, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, it workes in erb test, but not when puppet runs: undefined method `start_with?' for  via puppet erb -x -T '-' test.erb | ruby -c  says Syntax OK I thought

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-05 Thread Dick Davies
On Thu, Mar 4, 2010 at 7:27 PM, Douglas Garstang doug.garst...@gmail.com wrote: Does anyone know where I can get the puppet 0.24.8 RPM? We had been getting it from the public EPEL Repo, but it looks like they just decided to upgrade the version in their repository to 0.25.4. We run a local