[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Jean Spirat
> node A: > > @@file{'/tmp/foo': tag => $fqdnofothernode } > > other node: > > File<<| tag == $fqdn |>> > > cheers pete for me this fails with: err: Could not retrieve catalog: Puppet::Parser::Compiler failed with error NameError: uninitialized constant ParamValue on node x class mybackup:

[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Peter Meier
Hi puppet version? Did you turn stored configs on? etc. I assume you have followed http://reductivelabs.com/trac/puppet/wiki/ExportedResources ? cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Help with Passenger-based puppetmaster....

2009-05-11 Thread Juri Rischel Jensen
Hi Nigel Thank you for answering. I'm running Passenger 2.1.2 installed as a gem, on Debian Lenny. I'm using the Apache worker mpm. I've tried to get a Passenger setup running once before, around new year, and I couldn't get it to work then either. I don't recall what version of Passenger

[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Jean Spirat
Peter Meier a écrit : > Hi > > puppet version? Did you turn stored configs on? etc. > > I assume you have followed > http://reductivelabs.com/trac/puppet/wiki/ExportedResources ? > > cheers pete > yes, i have the lenny puppet package running on both and yes i have stored config running i see

[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Jean Spirat
Jean Spirat a écrit : > Peter Meier a écrit : > >> Hi >> >> puppet version? Did you turn stored configs on? etc. >> >> I assume you have followed >> http://reductivelabs.com/trac/puppet/wiki/ExportedResources ? >> >> cheers pete >> >> :) when i put: File <<| tag == $fqdn |>> or File

[Puppet Users] Re: Tips for a new puppet setup

2009-05-11 Thread Teyo Tyree
Hey Alan, On Fri, May 8, 2009 at 9:11 AM, Trevor Vaughan wrote: > > Hi, > > I would say that this is a good idea except for the custom fact part. > > Since these are not items that you will 'discover' from the system, a > custom function that looks up items in a table/LDAP server/whatever > woul

[Puppet Users] Re: Need to use base.rb and parsedfile.rb in a new resource type.

2009-05-11 Thread Luke Kanies
On May 7, 2009, at 5:54 AM, Manish Chakravarty wrote: > > Hello Everyone, > > First, let me describe what I plan to do: > I want to write monit provider which > a) populates the configuration file > b) restarts monit > > I have written the two pieces separately. > The first piece inherits from pa

[Puppet Users] cron type autorequire?

2009-05-11 Thread Jim Pirzyk
Just ran into a dependency issue with 0.24.8. The system was trying to add a crontab entry for a user it had not yet created. I do have the user being created with the user type. I started to look into the code and it seems the user is not setup with autorequire. My question is should it

[Puppet Users] Re: Help with Passenger-based puppetmaster....

2009-05-11 Thread ch+git
Juri, On May 11, 1:20 pm, Juri Rischel Jensen wrote: > And if I visithttps://puppet:8140/manually I get: > > Error message:private method `warn' called for Puppet:ModuleException   > class:NoMethodErrorApplication root:/srv/www/puppet.fab-it.dkBacktrace: > #       File            Line    Locatio

[Puppet Users] Re: Help with Passenger-based puppetmaster....

2009-05-11 Thread Juri Rischel Jensen
Thank you, Christian - that did it! How the h**l did you guess that, out of that vague error message..? Thanks again, man. Now I can get on with my new setup... On May 12, 2009, at 24:03 , ch+...@zeha.at wrote: > Seems like you've triggered a bug here. Puppet is trying to tell you > that the

[Puppet Users] Re: stored/virtual ressources

2009-05-11 Thread Luke Kanies
On May 7, 2009, at 2:42 PM, Jean Spirat wrote: > > For the stored config i use this: > > in the client node i do : > >include backupset::client >backupset::client::backupme{ 'mybackup': } > > > > inside the backupset::client class i have: > >define backupme( $periode='1', >

[Puppet Users] Re: FreeBSD pw user provider password management

2009-05-11 Thread Luke Kanies
On May 8, 2009, at 3:55 AM, Andrew Wasilczuk wrote: > > Peter Burkholder wrote: >> Is it this issue? >> >> http://projects.reductivelabs.com/issues/1511 >> >> You need to have ruby-shadow library and restart puppetd. > > Thanks for your reply Peter. Unfortunately this issue is talking > about

[Puppet Users] Re: SystemStackError

2009-05-11 Thread Luke Kanies
On May 8, 2009, at 7:08 PM, phynias wrote: > > I have puppet installed on 15 identical CentOS 5.2 systems and it runs > perfectly on all of them but 2. i get the following different one from > each. > > the same version of ruby, facter, and puppet are on all machines using > yum: > Installed: rub

[Puppet Users] Re: exported res with multiple tags not working

2009-05-11 Thread Luke Kanies
On May 10, 2009, at 6:48 PM, Ben wrote: > > Luke Kanies wrote: >> On May 6, 2009, at 7:36 PM, Ben wrote: >> >> >>> I am creating a "define" to manage cups printers on many servers and >>> would like to export the necessary 'file' and 'exec' resources with >>> multiple tags so i can be selective a

[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Luke Kanies
On May 11, 2009, at 6:38 AM, Jean Spirat wrote: > > Peter Meier a écrit : >> Hi >> >> puppet version? Did you turn stored configs on? etc. >> >> I assume you have followed >> http://reductivelabs.com/trac/puppet/wiki/ExportedResources ? >> >> cheers pete >> > yes, > > i have the lenny puppet pack

[Puppet Users] Making an entire class depend on something...

2009-05-11 Thread Greg
Hi guys, Is it currently possible to do something along the lines of: class accounts { require => Fact["blah"] ... } Reason I ask is that I have a custom fact for the directory to use as the base home directory (it varies based on OS, etc.) for user accounts. The problem I have is that

[Puppet Users] Ruby EE vs Ruby 1.8.4 results.

2009-05-11 Thread Nigel Kersten
This was: ruby 1.8.4 (2005-12-24) [x86_64-linux] vs ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] Ruby Enterprise Edition 20090421 on Ubuntu Dapper, using Passenger with Apache. I used the puppet-test script in the ext/ directory to simulate 50 simultaneous runs with a repeat of 10. Bo

[Puppet Users] Re: Ruby EE vs Ruby 1.8.4 results.

2009-05-11 Thread Arjuna Christensen
Hey, On 12/05/2009, at 1:35 PM, Nigel Kersten wrote: > > This was: > > ruby 1.8.4 (2005-12-24) [x86_64-linux] > vs > ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] > Ruby Enterprise Edition 20090421 Might I recommend also testing the MBARI[1] patches[2] for Ruby 1.8.6/1.8.7? I've seen

[Puppet Users] Re: Ruby EE vs Ruby 1.8.4 results.

2009-05-11 Thread Nigel Kersten
On Mon, May 11, 2009 at 6:40 PM, Arjuna Christensen wrote: > > Hey, > > On 12/05/2009, at 1:35 PM, Nigel Kersten wrote: > >> >> This was: >> >> ruby 1.8.4 (2005-12-24) [x86_64-linux] >> vs >> ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] >> Ruby Enterprise Edition 20090421 > > Might I re

[Puppet Users] Re: Ruby EE vs Ruby 1.8.4 results.

2009-05-11 Thread Ohad Levy
Thats a wow... Did you ever compare 32bit? I am using 32bit OS (RHE5) on all of our puppetmasters as ive noticed the 64bit of ruby is more hungry... First you make me considering passenger now ree:) many thanks, Ohad On 5/12/09, Nigel Kersten wrote: > > This was: > > ruby 1.8.4 (2005-12-24

[Puppet Users] Re: Making an entire class depend on something...

2009-05-11 Thread RijilV
2009/5/11 Greg : > > Hi guys, > > Is it currently possible to do something along the lines of: > > class accounts { >    require => Fact["blah"] >    ... > } > > Reason I ask is that I have a custom fact for the directory to use as > the base home directory > (it varies based on OS, etc.) for user

[Puppet Users] logging to a file

2009-05-11 Thread neerolyte
Is it possible to completely disable logging to syslog and only log to a file? --~--~-~--~~~---~--~~ 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 T

[Puppet Users] Re: logging to a file

2009-05-11 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 neerolyte wrote: > Is it possible to completely disable logging to syslog and only log to > a file? Have a look at the http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference page and the various log options. Regards James Turnbull - -- A

[Puppet Users] Re: logging to a file

2009-05-11 Thread neerolyte
On May 12, 3:41 pm, James Turnbull wrote: > Have a look at > thehttp://reductivelabs.com/trac/puppet/wiki/ConfigurationReferencepage > and the various log options. I've looked there. I've got sensible values set for all of the log related config. The closest I could find to an answer was: mas

[Puppet Users] Re: stored ressources and file creation

2009-05-11 Thread Jean Spirat
>> >> i have the lenny puppet package running on both and yes i have stored >> config running i see mysql query being done :) >> >> facterversion => 1.5.1 >> puppetversion => 0.24.5 >> > > This is likely your problem. The bug you're encountering didn't hit > everyone, but it basically is

[Puppet Users] Configuring hosts with data from other hosts

2009-05-11 Thread steverfran...@gmail.com
So I want to use facts from one host in the configuration of other hosts. Trivial example: setting restrict lines in ntp.conf to allow a monitoring host to query ntpd on remote hosts. So if the monitoring host boots with IP 10.2.2.3 (which may change regularly), and it knows its the monitor host