Re: [Puppet Users] scaling up puppetmasterd by cloning puppetmasterd

2010-04-22 Thread Brian Gallew
I would have thought that, instead of rsyncing the new machine, you'd have used Puppet to deploy it as a Puppet master. I'm curious as to why you went this route? On Thu, Apr 22, 2010 at 12:22 AM, Nicolas Szalay wrote: > - "Brian Lam" a écrit : > > | I apologized ahead of time if this post

Re: [Puppet Users] Odd behavior for clients with trailing dot in their FQDN

2010-04-22 Thread Ohad Levy
Hi Bill, 1. ask for a new feature request :) most likely in facter. 2. "try" to use the certname option in puppet.conf instead. cheers, Ohad On Fri, Apr 23, 2010 at 4:24 AM, Bill Weiss wrote: > 2010/4/21 Jesús M. Navarro : > > I Bliss: > > > > On Wednesday 21 April 2010 20:33:26 Bill Weiss wro

[Puppet Users] Re: Setting default "require" for a resource

2010-04-22 Thread Ben Beuchler
Of course this works exactly as it should. The trick appears to be to remember to point your puppet client at the correct environment. On Thu, Apr 22, 2010 at 5:39 PM, Ben Beuchler wrote: > In the class shown below, shouldn't the files always be created after > installing "apparmor-utils" and "a

[Puppet Users] Setting default "require" for a resource

2010-04-22 Thread Ben Beuchler
In the class shown below, shouldn't the files always be created after installing "apparmor-utils" and "apparmor-profiles"? In my environment I'm frequently seeing puppet attempt to install one fo the files before the package has been installed. This throws an error, as the package is responsible

Re: [Puppet Users] Odd behavior for clients with trailing dot in their FQDN

2010-04-22 Thread Bill Weiss
2010/4/21 Jesús M. Navarro : > I Bliss: > > On Wednesday 21 April 2010 20:33:26 Bill Weiss wrote: >> All, >> >> I'm just getting started with puppet, so excuse any lack of vocabulary >> in this email. >> >> I've got a server (CentOS 5.4) running with a little more than the >> example puppet configu

[Puppet Users] Re: Default Gateway facter problems

2010-04-22 Thread Scott Beardsley
I've filed an issue[1] for this. I don't think it is a bug in facter since it is returning the fact correctly. As for the gateway fact discussion... Most of my puppetized systems are pretty simple (HPC clusters) so they typically have a single default gateway. Does facter only support string data

Re: [Puppet Users] Re: Migration from 0.24.X to 0.25.x : "Global resource access is deprecated"

2010-04-22 Thread Trevor Vaughan
Nicolas, I think you should cross-post this to puppet-dev. Trevor On Thu, Apr 22, 2010 at 8:13 AM, nicolas wrote: > Could anyone help me on this topic, please ? > Or point me to up-to-date documentation explaining the good way to do > it ? > > thanks ! > > nicolas > > On 19 avr, 13:56, nicolas

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-22 Thread seph
Ken writes: > Hehehe - cool bananas. Happy to merge - just one small problem. > > I'm guessing that syntax is how you persist rules in Ubuntu? I run > Ubuntu at work now but I'm a newb: > > /sbin/iptables-save > /etc/iptables.rules Yeah, that would be the ubuntu specific piece. I don't think ubu

[Puppet Users] unsubs

2010-04-22 Thread Peter McArthur
unsub -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this grou

[Puppet Users] Re: Overriding a resource created in a define

2010-04-22 Thread John Lyman
Here's how I do it... In my nodes.pp, I define certain global variables at the top of the manifest, outside of any node definitions. If I want to override a default variable, I redefine the variable inside of the specific node definition, before I include the class that uses the variable. For ex

[Puppet Users] Re: Migration from 0.24.X to 0.25.x : "Global resource access is deprecated"

2010-04-22 Thread nicolas
Could anyone help me on this topic, please ? Or point me to up-to-date documentation explaining the good way to do it ? thanks ! nicolas On 19 avr, 13:56, nicolas wrote: > Hello, > >    We have a custom type that works well with puppet 0.24.8 but fails > with puppet 0.25.4 >    The failure mess

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
Hrm. You mean can the client initiate a command on the puppetmaster? Yes - but only really at compile time ... so its probably not the right way to do it. Do you have a 'virtualisation manager app' that spawns your amazon instances or are you using the web GUI amazon provides? I think architectur

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
On 22 April 2010 12:09, Ken wrote: > > Were those 200GB populated with 50GB+ of data? > > Yep. > > > It doesn't hang on most of our EBS mounts, but I know we have a few in > live > > where we have to kill puppet and finish the catalogue manually. I > couldn't > > think of any other way to try an

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
On 22 April 2010 12:19, Phillip B Oldham wrote: > On Apr 22, 12:04 pm, Ken wrote: > > > I personally prefer to set-up the instances externally with some other > tool, > > > saves having AWS credentials on the EC2 instance. > > > > I agree. Its a concern that each box will have so much control ov

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-22 Thread Ken
Hey Marc - I was hoping you would join in the discussion :-). > Thanks for your patches on this module ! I love the --comment idea. I > will definitely pull this asap. Thanks for writing puppet-iptables in the first place - I use it all the time and it really makes my life easier. > I'm not too

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Phillip B Oldham
On Apr 22, 12:04 pm, Ken wrote: > > I personally prefer to set-up the instances externally with some other tool, > > saves having AWS credentials on the EC2 instance. > > I agree. Its a concern that each box will have so much control over > not only themselves but other instances that the key has

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
> Were those 200GB populated with 50GB+ of data? Yep. > It doesn't hang on most of our EBS mounts, but I know we have a few in live > where we have to kill puppet and finish the catalogue manually.  I couldn't > think of any other way to try and narrow it down to provide any more info. I can't s

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
> I personally prefer to set-up the instances externally with some other tool, > saves having AWS credentials on the EC2 instance. I agree. Its a concern that each box will have so much control over not only themselves but other instances that the key has access to. If that 1 box is compromised th

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Phillip B Oldham
On Apr 22, 9:26 am, Matt wrote: > I personally prefer to set-up the instances externally with some other tool, > saves having AWS credentials on the EC2 instance. So there's no way for the puppet config on the master to have the AWS credentials and pass them down to the instance/client? -- You

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
On 22 April 2010 08:12, Phillip B Oldham wrote: > On Apr 21, 6:06 pm, Ken wrote: > > > My main problem is defining in puppet the name of the EBS volume to > > > attach, and having the puppet client on the EC2 instance actually > > > *attach* the volume after it has "spun-up". > > > > Is this bec

Re: [Puppet Users] scaling up puppetmasterd by cloning puppetmasterd

2010-04-22 Thread Nicolas Szalay
- "Brian Lam" a écrit : | I apologized ahead of time if this post shouldn't go here but I | having | been knocking my heading for the last two days trying to get over the | following error while trying to "clone" my primary puppetmasterd | because we have outgrown one puppetmasterd setup. |

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Phillip B Oldham
On Apr 21, 6:06 pm, Ken wrote: > > My main problem is defining in puppet the name of the EBS volume to > > attach, and having the puppet client on the EC2 instance actually > > *attach* the volume after it has "spun-up". > > Is this because you want to be able to convert the EBS id to a /dev/ > sd