[Puppet Users] Re: authenticating new nodes that are created by provisioning

2010-06-03 Thread Oded
Never tried it myself but I think you can create the certificate as a part of the provisioning process, and then somehow place it in the new server. http://serverfault.com/questions/19462/how-can-i-pre-sign-puppet-certificates On Jun 3, 7:42 am, "Matthew Delves" wrote: > Hey Folks, > I'm looking

[Puppet Users] Re: variable containing applied classes?

2010-03-07 Thread Oded
As I wrote before "some serious scoping and ordering issues" ... On Mar 6, 2:21 pm, "R.I.Pienaar" wrote: > hello, > > - "Oded" wrote: > > <% classes.each do |current_class| -%> > > this is order dependent, it only find cl

[Puppet Users] Re: variable containing applied classes?

2010-03-06 Thread Oded
This code loops all applied classes and if a class has a variable named "iptable_rule_chain" it prints its(the variable's) content to the file. It raises some series scoping and ordering issues but I use it anyways as I prefer them over file concatenation(in some templates I use of 3 if these loo

[Puppet Users] Re: using (possibly) undefined out of scope variables in an erb template

2010-02-23 Thread Oded
eterministic" , I know exactly how my file will look like without considering its current state. On Feb 13, 8:35 pm, Oded wrote: > Actually I am trying to go around it :) > I choose to use the classes array because of the an ordering issue I > encountered while trying to build

[Puppet Users] Re: Israeli Puppet meetup?

2010-02-21 Thread Oded
I'l be the guy who looks like he writes puppet manifests for a living ... On Feb 21, 3:35 pm, Ohad Levy wrote: > I'll book a table under my name, see you there :) > > Ohad > > > > On Sun, Feb 21, 2010 at 3:11 PM, юрка олейников wrote: > > AFAIK there're two "halls" in temple bar... > > > 2010/2/

[Puppet Users] Re: Israeli Puppet meetup?

2010-02-15 Thread Oded
I'm in ! On Feb 10, 9:42 am, Ohad Levy wrote: > Hey Guys, > > Wondering if anyone here is from Israel, I'll be visiting Israel next week > and would love to have a good puppet talk > > cheers, > Ohad -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

[Puppet Users] Re: using (possibly) undefined out of scope variables in an erb template

2010-02-13 Thread Oded
at by using the classes array (which is in its finale state before the classes start to run) I can avoid the ordering issue. my question was about the ruby syntax of checking for undefined out of scope variables (or are you trying to tell me that theres no way around it ?). Oded On Feb 11,

[Puppet Users] using (possibly) undefined out of scope variables in an erb template

2010-02-10 Thread Oded
iptable settings. Without checking for undefined variables my code looks like this : <% classes.each do |current_class| -%> <% scope.lookupvar(current_class::iptables_input_tags) %> <% end -%> Oded -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Exported Resources: noob help please!

2009-08-28 Thread Oded
Great ,thanks. Oded On Aug 27, 5:05 pm, David Schmitt wrote: > Odedwrote: > > David,how does the code you provided handle the removal of a "source" > > node ? as far as i can tell the directory that contains the > > concatenated_file_parts  doesn't get pu

[Puppet Users] Re: Exported Resources: noob help please!

2009-08-26 Thread Oded
David,how does the code you provided handle the removal of a "source" node ? as far as i can tell the directory that contains the concatenated_file_parts doesn't get purged on each puppet iteration.so even after the "source" node stops exporting its file_part the Concatenated_file will contain