Re: [Puppet Users] How to read client certificate's CN

2009-11-30 Thread Ohad Levy
Hi, Why not use cobbler external nodes feature to avoid all of this all together ? sounds to me that you should provision your nodes when they have a purpose if they don't have one, they should keep getting the default node. I assumed that you have a snippet in cobbler that defines the RANDOM_STR

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Nigel Kersten
On Mon, Nov 30, 2009 at 4:58 PM, Steven VanDevender wrote: > Paul Lathrop writes: >  > 2) Why does puppet manage dependencies the way it does? >  > 3) How can I keep dependencies manageable? >  > >  > The answer to #2 is more complicated, and has been hashed over before >  > on the list, but I'll

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Steven VanDevender
Paul Lathrop writes: > 2) Why does puppet manage dependencies the way it does? > 3) How can I keep dependencies manageable? > > The answer to #2 is more complicated, and has been hashed over before > on the list, but I'll comment that some people just don't like the > dependency model in pup

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Paul Lathrop
Michael, and Doug, On reading this thread it looks like there's a lot of frustration going on. There's a few questions that need answering. I'll list them below: 1) "how... do we make sure that resources get applied in a predictable order" (profanity elided) 2) Why does puppet manage dependencies

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread R.I.Pienaar
hello, > Someone on this list seemed quite certain that modules where executed > in the order they were imported, which turned out to be wrong. > > At the moment I have a few modules tagged as 'bootstrap'. The initial > puppet.conf on the client has 'tags=bootstrap' in it, so that when > puppet

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Steven VanDevender
Michael T. Halligan writes: > I think what Doug is trying to ask is, how the hell do we make sure > that resources get applied in a predictable order? Use "require" or "before". That's why they're in Puppet. -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread R.I.Pienaar
- "Michael T. Halligan" wrote: > I think what Doug is trying to ask is, how the hell do we make sure > that resources get applied in a predictable order? And the answer below is the only viable way. And the bigger answer is, mostly it doesn't matter and many people *think* order is import

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Michael T. Halligan
I think what Doug is trying to ask is, how the hell do we make sure that resources get applied in a predictable order? On Nov 30, 2009, at 4:05 PM, R.I.Pienaar wrote: > hello, > >>> require CLASS >>> >>> from any class starting in 25.1. >>> >>> This will ensure that every resource in the cur

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread R.I.Pienaar
hello, > > require CLASS > > > > from any class starting in 25.1. > > > > This will ensure that every resource in the current class requires > every resource in the provided CLASS. > > I wasn't able to get 0.25 to work. After spending a few weeks in > abject frustration, unable to get the ssl key

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Douglas Garstang
On Mon, Nov 30, 2009 at 2:04 PM, Dan Bode wrote: > you can use the function: > > require CLASS > > from any class starting in 25.1. > > This will ensure that every resource in the current class requires every > resource in the provided CLASS. I wasn't able to get 0.25 to work. After spending a fe

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Nigel Kersten
On Mon, Nov 30, 2009 at 1:21 PM, Douglas Garstang wrote: > On Mon, Nov 30, 2009 at 12:12 AM, David Schmitt wrote: >> Douglas Garstang wrote: >>> On Thu, Nov 26, 2009 at 11:59 PM, David Schmitt wrote: Douglas Garstang wrote: > First post didn't appear on the list (gee, like that doesn't

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Roy Nielsen
If I understand correctly - inside class b, you say: require a (ie class a) right? - is that just for 25.x? -Roy Julian Simpson wrote: >> Lets dumb it down. How can I ENSURE that EVERYTHING from module A is >> implemented before ANYTHING from module B? >> > > That's roughly like asking:

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Julian Simpson
> Lets dumb it down. How can I ENSURE that EVERYTHING from module A is > implemented before ANYTHING from module B? That's roughly like asking: How can I ensure that no code from jar file A depends on jar file B? It's really up to the individual classes inside the jar files to behave the way you

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Dan Bode
you can use the function: require CLASS from any class starting in 25.1. This will ensure that every resource in the current class requires every resource in the provided CLASS. On Mon, Nov 30, 2009 at 3:21 PM, Douglas Garstang wrote: > On Mon, Nov 30, 2009 at 12:12 AM, David Schmitt wrote: >

[Puppet Users] How to read client certificate's CN

2009-11-30 Thread Miguel Armas
Hi there! I'm trying to use a default host entry as a catch-all for unconfigured hosts, and I need to be able to read the client's certificate CN to use it in my monitoring system. On these hosts I'm doing an unattended install with cobbler, in the installation step I install puppet and configure

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Douglas Garstang
On Mon, Nov 30, 2009 at 12:12 AM, David Schmitt wrote: > Douglas Garstang wrote: >> On Thu, Nov 26, 2009 at 11:59 PM, David Schmitt wrote: >>> Douglas Garstang wrote: First post didn't appear on the list (gee, like that doesn't happen all the time) So.. I've been fighting

[Puppet Users] Downloaded plugin does not get loaded after puppetd gets restarted.

2009-11-30 Thread Robert
Hi When I run puppetd for the first time, it syncs ownpkg.rb from puppetmasterd just fine, and then it autoloads it. notice: /File[/var/puppet/lib/puppet/provider/ownpkg.rb]/content: content changed '{md5}efd758a6094c813f8480423b01d823ac' to '{md5} b0f1f52803738bace6724ef5bfe5318a' Finishing tran

[Puppet Users] module proposal: ssh::authkey

2009-11-30 Thread Andrew Schulman
I'm writing a module for centralized creation, distribution, and revocation of ssh key pairs for users. It's tentatively called ssh::authkey. It aims to be a complete solution for centrally managing users' ssh keys. The module is superficially similar to the Authorized keys recipe, but unlike th

[Puppet Users] Fedora / EL: Puppet 0.25.1 RPMs in -testing repositories

2009-11-30 Thread Jeroen van Meeuwen
Hi there, I wanted to let you know that the most recent release of Puppet (e.g. 0.25.1) is available through the various updates-testing repositories; To get these packages, type something similar to: # yum --enablerepo=epel-testing update puppet on Enterprise Linux, or: # yum --enablerepo=

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread David Schmitt
Douglas Garstang wrote: > On Thu, Nov 26, 2009 at 11:59 PM, David Schmitt wrote: >> Douglas Garstang wrote: >>> First post didn't appear on the list (gee, like that doesn't happen >>> all the time) >>> >>> So.. I've been fighting with trying to get puppet to include/execute >>> module in a cer