Re: [Puppet Users] Re: Puppet 3.0.0 and Hiera

2012-10-21 Thread Jakov Sosic
On 10/16/2012 04:34 PM, jcbollinger wrote: Here's one solution: keep parametrized classes themselves, but deprecate and eventually remove the parametrized-class declaration syntax. That would leave class parameters as formalized declarations of external data used by classes, while removing the p

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-10-21 Thread fatmcgav
Josh Cheers for the info. Are there any references on how to set the path when executing child processes? Cheers Gavin On Oct 19, 2012 6:03 PM, "Josh Cooper" wrote: > Hi Gavin, > > On Fri, Oct 19, 2012 at 9:35 AM, Gavin Williams > wrote: > > Ok, I've found what was causing the provider to fail

[Puppet Users] need a hand to troubleshoot this small setup

2012-10-21 Thread Omarinas
Hi all, Im provisioning new Vms in a eucalyptus Private-Cloud. once they are up and running i change the hostname to http_i-7ebd4301.cloud.mydomain.net then via ssh install the puppet client and point the config file to the puppetMaster. the pupet master config is very simple [root@puppet manif

[Puppet Users] SOLVED:Re: need a hand to troubleshoot this small setup

2012-10-21 Thread OwenM
Hate to do this. replying myself... a typo in the classes directory thx OWen On Sunday, October 21, 2012 10:47:32 AM UTC-4, OwenM wrote: > > Hi all, > Im provisioning new Vms in a eucalyptus Private-Cloud. > once they are up and running i change the hostname to > http_i-7ebd4301.cloud.mydomain.

[Puppet Users] use regex to ensure multiple directories are absent or exist

2012-10-21 Thread Panaman
Is it possible to use regex to ensure directories are deleted. I want to be able to do something like: file { '/var/directory[1-9]': ensure => absent, } Would also be nice to use regex to ensure directories are present... -- You received this message because you are subscribed to the Goo

[Puppet Users] custom type with array property?

2012-10-21 Thread Jakov Sosic
Hi. I'm having trouble to write a custom type that accepts array as property. This is example of my custom type resource definition: customtype { 'blah': myarray => ['a','b'], } This is what I've got in provider: def myarray=(value) require 'pp' pp value end But pp prints only "a".

[Puppet Users] Razor Mongodb related questions

2012-10-21 Thread Hong
I'm new to Razor and have two questions related to Razor Mongodb: 1. Is there available Razor object relationship diagram that describes relationships between Razor slices? 2. Does Razor make use of Mongo's JSON doc store features like automatic secondary indexing on all JSON attributes? --

Re: [Puppet Users] custom type with array property?

2012-10-21 Thread Nan Liu
On Sun, Oct 21, 2012 at 10:04 AM, Jakov Sosic wrote: > I'm having trouble to write a custom type that accepts array as property. > This is example of my custom type resource definition: > > customtype { 'blah': > myarray => ['a','b'], > } > > This is what I've got in provider: > > def myarray=(v

[Puppet Users] Puppet node_aws fingerprint vs configprint

2012-10-21 Thread Ignasi López
Hi! I've been playing with puppet node_aws on my ec2 instances and there is a problem which I don't know how to solve it. The problem is: when i run puppet node_aws bootstrap in order to create and install puppet in new instance, I see at the end of logs: debug: Command: sudo puppet agent --con

Re: [Puppet Users] Re: Variables and autoloading

2012-10-21 Thread Guzman Braso
John, I'm new to puppet and your mails confuse me a little bit... if parameterized classes are not recommended and you suggest when dealing with someone else parameterized class to set it through hiera (Puppet 3). Then I don't understand how to proceed with puppet 2 modules... Should I hack every

Re: [Puppet Users] Razor Mongodb related questions

2012-10-21 Thread Daniel Pittman
On Sun, Oct 21, 2012 at 10:12 AM, Hong wrote: > I'm new to Razor and have two questions related to Razor Mongodb: Hey. A better place for developer type questions like this is probably the dev list, just because the volume of mail here on the user list can make it easy to miss. > 1. Is there av