RE: [Puppet Users] vmwaretools

2010-02-17 Thread Marcello de Sousa
I've recently deployed on (via puppet) the following script to deal automatically with kernel updates: --- #Automatically updates VMWare tools (to be called from /etc/rc.local) if [ ! -e /lib/modules/`uname -r`/.vmware_installed ]; then /usr/bin/vmware-config-tools.p

[Puppet Users] Traversal of class inheritance - chain

2010-02-17 Thread robert.gstoehl
Can one include muliple parts of a (class) - inheritance chain? And if yes, how does this chain get traversed? Are there any limitations / sideffects / documentation? The idea behind is: I'd like to provide a base set of disabled services. Each of this service can be enabled through inheriting fr

RE: [Puppet Users] Cascaded conditionals possible ?

2010-02-17 Thread Marcello de Sousa
Yes, that was the problem. The nested conditional works! Thanks Alan. > -Original Message- > From: puppet-users@googlegroups.com [mailto:puppet- > us...@googlegroups.com] On Behalf Of Alan Barrett > Sent: dinsdag 16 februari 2010 16:06 > To: puppet-users@googlegroups.com > Subject: Re: [Pu

[Puppet Users] Re: Traversal of class inheritance - chain

2010-02-17 Thread jcbollinger
On Feb 17, 2:56 am, "robert.gstoehl" wrote: > Can one include muliple parts of a (class) - inheritance chain? And if > yes, how does this chain get traversed? Are there any limitations / > sideffects / documentation? You can include classes from multiple parts of an inheritance tree, including

[Puppet Users] Re: Traversal of class inheritance - chain

2010-02-17 Thread robert.gstoehl
Hey John, Thanks for the clarification. Makes kind of sense ;) Cheers Robert On Feb 17, 3:50 pm, jcbollinger wrote: > On Feb 17, 2:56 am, "robert.gstoehl" wrote: > > > Can one include muliple parts of a (class) - inheritance chain? And if > > yes, how does this chain get traversed? Are there a

[Puppet Users] file resource question

2010-02-17 Thread Roy Nielsen
Hello, It's not mentioned in the online documentation, but will the file resource parameter "replace" work with content => template("mytemplate.erb"), I'd like to be able to say "if the file is already there, don't modify it", with the replace => false, Is that possible? (puppet 25.1

Re: [Puppet Users] My first type/provider - does nothing...

2010-02-17 Thread Marcin Owsiany
Hello, On Mon, Feb 15, 2010 at 09:30:04AM -0800, Daniel Kerwin wrote: > i tried to write my first type and provider that should create logical > volumes. Seems like i'm missing something as i get nothing when i use > it: No errors and no logical volume :-( This is not exactly what you're looking

Re: [Puppet Users] Cascaded conditionals possible ?

2010-02-17 Thread Joe McDonagh
Marcello de Sousa wrote: I've been trying to use a resolv_conf recipe to setup the DNS servers based on $domain and $location (a custom fact). So I cascade the 2 conditionals, but it's not working. Is it supposed to work ? Or should I look for an alternative ?

Re: [Puppet Users] My first type/provider - does nothing...

2010-02-17 Thread Daniel
Thanks for your code. I'll have a look at it. i still need a mkfs provider and your code may be the starting point. My code actually works now (ensure was required!) and i'll post it to the dev list to get some suggestions. These are the currently working operations: - Create volume - Extend volu

Re: [Puppet Users] Problems with certs [SOLVED]

2010-02-17 Thread James Cammarata
On Mon, 15 Feb 2010 00:24:10 -0600, James Cammarata wrote: >> that is strange, I know that puppetd does not create certificates when >> running with --noop mode. Seems like it could be related. Does this > machine >> have a signed certificate? >> >> >>> Any ideas? >>> >> >> I would try running

[Puppet Users] Using templates from a custom type

2010-02-17 Thread Grant McLean
Hi Puppet-People I'm playing around with writing a custom resource type for managing my Apache configs and I would like to use templates. I happened across Puppet::Util::ResourceTemplate, which seems to do the tricky stuff but the bit I'm struggling with is getting the template across from the pu

[Puppet Users] Re: How can I set up multiple puppetmasterd?

2010-02-17 Thread Nobuchika Tanaka
Hi Scott. > You can set up load balanced Puppetmasters with a stand-alone CA. And in > the process I suggest using Apache with mod_passenger: I will try this configuration you suggested. Thank you. Nobuchika Tanaka. -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Rebuilding machines from foreman

2010-02-17 Thread LOhit
Hello, I ran into this problem today, I am trying to implement "One click installation", I followed foreman howtos and set up the pre-requisites accordingly. However, when I click on "Build" button, I get the following errors in the foreman's console and another error in the web interface indicat