[Puppet Users] Re: Include class/* picks up backup files

2008-10-08 Thread David Schmitt
[jumping in late, haven't read the thread] dd-b schrieb: Having to think about which levels of change need to be committed all the time is a high-cost high-risk activity. You are 100% right. The fact that CVS and Subversion make using temporary branches really ugly and error-prone doesn't

[Puppet Users] Certificates were not trusted Error

2008-10-08 Thread Sebastian Vieira
Hi, I have a host that's both a puppet client and a puppetmaster. The master part works fine; all clients can connect to it and get their configuration. The client part does not work so well. I remember it used to work but then we had to switch domain names and things went wrong. The setup is

[Puppet Users] Re: Inheritance syntax question

2008-10-08 Thread Peter Meier
Hi Foo::bar[default] { [...] The only way I can get this syntax to work is to move the 'bar' definition outside of the foo class and refer to it by a name without '::' in it in foo2. Is there a way to override a definition with '::' in its name? it's Foo::Bar[default] { greets pete

[Puppet Users] Re: Inheritance syntax question

2008-10-08 Thread steve caldwell
On Oct 8, 1:31 am, Peter Meier [EMAIL PROTECTED] wrote: it's Foo::Bar[default] { That worked perfectly, thanks Pete! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-08 Thread Ashley Penney
You pretty much have to use exec { mkdir -p /path }, sorry! On Wed, Oct 8, 2008 at 1:30 PM, Jeff [EMAIL PROTECTED] wrote: Hi all, I'd like to add a several directories and I can't seem to do it with a single file directive. Say /home/jeff exists and I want to add

[Puppet Users] Re: Error in INSERT when using stored configs

2008-10-08 Thread Andrew Shafer
Anyone else using stored configs ever run into this problem? On Fri, Oct 3, 2008 at 6:45 PM, MP [EMAIL PROTECTED] wrote: Hello, I'm having some trouble getting stored configs to work properly with SQLite. During each run, the puppet master is reporting the following error: err: Could

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-08 Thread Jeff
Thanks all. One question: How do I reference the last directory in the array in a require statement? If I do this: file {[$basedir, $basedir/src, $basedir/src/my, $basedir/src/my/dir, $basedir/src/my/dir/path ]: Can I do this: require = File[$basedir/src/my/dir/path] TIA, Jeff

[Puppet Users] Re: The puppet equivalent of mkdir -p

2008-10-08 Thread Teyo Tyree
Jeff wrote: Thanks all. One question: How do I reference the last directory in the array in a require statement? If I do this: file {[$basedir, $basedir/src, $basedir/src/my, $basedir/src/my/dir, $basedir/src/my/dir/path ]: Can I do this: require = File[$basedir/src/my/dir/path]

[Puppet Users] Re: Include class/* picks up backup files

2008-10-08 Thread dd-b
On Oct 7, 1:23 pm, Digant C Kasundra [EMAIL PROTECTED] wrote: - dd-b [EMAIL PROTECTED] wrote: All the examples show just include class/*, so I was using that until I started getting errors. I'm curious which examples these are.  Best practice is usually to let autoloading take care

[Puppet Users] Re: Possible to maintain bad configs on the client?

2008-10-08 Thread Robert Rati
I'm discovered some more info related to this issue, and it's rather disturbing. I hacked puppetd to print out what it is receiving from the server and I believe I have found the issue, but unfortunately it seems to bring more questions. I have a 106 line config file that I modify a few

[Puppet Users] Re: Possible to maintain bad configs on the client?

2008-10-08 Thread Robert Rati
I've provided the full template below. It acts upon cm_list, which is a comma separated list of FQDNs. Rob NEGOTIATOR_HOST = CONDOR_HOST = ## A list of all potential central managers in the pool. COLLECTOR_HOST = %= cm_list % ## Define the port number on which the condor_had daemon will ##

[Puppet Users] Re: Possible to maintain bad configs on the client?

2008-10-08 Thread Evan Hisey
On Wed, Oct 8, 2008 at 12:42 PM, Robert Rati [EMAIL PROTECTED] wrote: I have puppetmaster running on RHEL4, and 2 puppet clients running on RHEL5. All machines are running puppet version is 24.4 installed from EPEL. The issue is that some configurations seem to be unusable by the RHEL5

[Puppet Users] Re: Possible to maintain bad configs on the client?

2008-10-08 Thread Robert Rati
The difference in ruby-libs is my guess as well. However, and I forgot to mention this in my previous posts, if I remove about 5 files from the template (just comment lines) then it is just fine. The ruby code in the template executes correctly from the output I see (in the failed config),