[Puppet Users] Re: Puppet Camp

2009-04-27 Thread Andrew Shafer
And decent Mexican food... Get it all arranged and tell me the dates... ;) On Sun, Apr 26, 2009 at 4:08 PM, Allan Marcus wrote: > > I vote for Albuquerque, New Mexico! > > Cheap flights from the west cost and easier for the east cost folks. > > Plus, relatively cheap. > > Plus, I can drive t

[Puppet Users] Re: Exported Resources with keyword undef

2009-04-27 Thread Mathieu Bornoz
Ok I will fill a bug report ... > personally I would see this as a bug, as an exported resource should > behave the same way as a local one. > Would you mind filing a bug? (Assuming nobody disagrees) --~--~-~--~~~---~--~~ You received this message because you are

[Puppet Users] Re: Puppet on VMware ESX

2009-04-27 Thread Bjørn Dyre Dyresen
Would you mind sharing a manifest showing how you are doing this? Regards 2009/4/25 dane foster > You can create snapshots via either the perl vi api, or the rcli tools. > We're using puppet to call the perl api and provision guests within ESXi, > works a treat. > /dane > > > On Apr 25, 2009,

[Puppet Users] Re: Exported Resources with keyword undef

2009-04-27 Thread Mathieu Bornoz
see http://projects.reductivelabs.com/issues/2204 On Mon, Apr 27, 2009 at 9:55 AM, Mathieu Bornoz wrote: > Ok I will fill a bug report ... > >> personally I would see this as a bug, as an exported resource should >> behave the same way as a local one. >> Would you mind filing a bug? (Assuming no

[Puppet Users] Re: Puppet on VMware ESX

2009-04-27 Thread paul matthews
Hi Dane, I second Bjorn's request. If you could make that available that would be very useful Rgds Paul 2009/4/27 Bjørn Dyre Dyresen > Would you mind sharing a manifest showing how you are doing this? > > Regards > > > 2009/4/25 dane foster > > You can create snapshots via either the perl vi

[Puppet Users] Re: Puppet on VMware ESX

2009-04-27 Thread dane foster
If you install the VI Perl SDK, you'll get all sorts of fun sample scripts. A manifest to use the sample scripts would be something like: define esx_guest($datacenter=ha-datacenter, $datastore, $disk_size, $guest_id=rhel5_64Guest,

[Puppet Users] Treating floats as strings

2009-04-27 Thread Pete Emerson
I think I'm running into situations where my variables are being used as floats instead of strings. For example, if my puppet_node_classifier prints this: --- parameters: version: 0.10 and my command is this: command => "/bin/rpm -hiv http://server/package-$version.x86_64.rpm"; I think it wil

[Puppet Users] Re: Treating floats as strings

2009-04-27 Thread Brice Figureau
On 27/04/09 18:50, Pete Emerson wrote: > I think I'm running into situations where my variables are being used as > floats instead of strings. > > For example, if my puppet_node_classifier prints this: > --- > parameters: > version: 0.10 > > and my command is this: > > command => "/bin/rpm -

[Puppet Users] Requiring custom facts in a recipe?

2009-04-27 Thread Jim Pirzyk
I'm trying to bootstrap puppet on an existing server I have. I rely quite a bit on custom facts in my setup. Is there a way that I can have the facts be required in a recipe, maybe like this: file { "/etc/foo.conf": ... content => template("foo.conf.erb"), require =>

[Puppet Users] Re: Treating floats as strings

2009-04-27 Thread Pete Emerson
Excellent idea, thanks! I was using perl's YAML module to just dump a hash: print Dump( { parameters=> \%parameters } ); Now I'm just producing the output myself: print "---\nparameters:\n"; foreach my $key (sort keys %parameters) { if (defined $parameters{$key}) { p

[Puppet Users] Re: Requiring custom facts in a recipe?

2009-04-27 Thread Ben
Jim Pirzyk wrote: > I'm trying to bootstrap puppet on an existing server I have. I rely > quite a bit on custom facts in my setup. Is there a way that I can > have the facts be required in a recipe, maybe like this: > > file { "/etc/foo.conf": > ... > content => template("foo.conf.erb"

[Puppet Users] Puppet Mongrel Load Balancing + CNAME

2009-04-27 Thread josbal
Hi I am reading and configuring puppet in relation to http://reductivelabs.com/trac/puppet/wiki/UsingMongrelOnEnterpriseLinux The question I have is in relation to the ssl certificates generated the first time the puppetmaster service is run and the ability to use a CNAME. If the host that i am

[Puppet Users] Re: Puppet Mongrel Load Balancing + CNAME

2009-04-27 Thread Ohad Levy
I guess you are looking for certdnsnames option, run puppetmasterd --genconfig to see all options. Ohad On Tue, Apr 28, 2009 at 1:06 PM, josbal wrote: > > Hi I am reading and configuring puppet in relation to > http://reductivelabs.com/trac/puppet/wiki/UsingMongrelOnEnterpriseLinux > > The ques

[Puppet Users] Re: Puppet Mongrel Load Balancing + CNAME

2009-04-27 Thread josbal
Thanks Ohad, That looks like what I was after. Cheers. On Apr 28, 3:31 pm, Ohad Levy wrote: > I guess you are looking for certdnsnames option, run puppetmasterd > --genconfig to see all options. > > Ohad > > On Tue, Apr 28, 2009 at 1:06 PM, josbal wrote: > > > Hi I am reading and configuring