[Puppet Users] Tomcat Virtual-Host Entries - Dynamically Generating an Array with No Repeats from Different Classes

2009-10-30 Thread Brian Ferris
I'm using Puppet to manage my Tomcat configuration, including my server.xml file and a potentially shifting set of war files depending on the node. I'm also using Tomcat's virtual-host capability, which involves adding a element in the server.xml file for each virtual-host I wish to activate. The

[Puppet Users] Building a 3rd party configuration file based on imported modules

2009-10-30 Thread Kim Gert Nielsen
Hi, I hope someone can help me the best way (Best practice) to build up a configuration file based om modules. Meaning .. I have a node that imports 2 modules. Apache and NTP. What I want is that a class (in my case apache and ntp) has a function for writing a part of another configuratio

[Puppet Users] Re: puppet failover

2009-10-30 Thread Nicolas Szalay
Le vendredi 30 octobre 2009 à 08:07 -0700, Rene a écrit : > Hi, thanks for the quick answers. > > Did you create a link /var/lib/puppet that points to the nas share? It's a NFS share, so it is mounted in this dir : [phosphore:~] mount [snip] smaug:/data/zone3/puppet on /var/lib/puppet type nfs .

[Puppet Users] Re: How can I tell what version of puppet is installed?

2009-10-30 Thread Nigel Kersten
On Fri, Oct 30, 2009 at 8:16 AM, Allan Marcus wrote: > > is the "rc1" or "rc2" stored anywhere in any of the puppet files? I'm not storing the changelog anywhere in the Mac packages, which should probably get resolved. At least on Debian it will be available vi zcatting /usr/share/doc/puppet/cha

[Puppet Users] Re: How can I tell what version of puppet is installed?

2009-10-30 Thread Allan Marcus
is the "rc1" or "rc2" stored anywhere in any of the puppet files? --- Thanks, Allan Marcus 505-667-5666 On Oct 29, 2009, at 5:07 PM, James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Allan Marcus wrote: >> puppetd --version >> >> will not return 'rc' version. for

[Puppet Users] Re: puppet failover

2009-10-30 Thread Rene
Hi, thanks for the quick answers. Did you create a link /var/lib/puppet that points to the nas share? Did you use the autosign option? BR, Rene On Oct 29, 9:38 pm, Nicolas Szalay wrote: > This will definitely work, I have this setup : two puppetmasters, sharing a > vip with heartbeat, both ru

[Puppet Users] Re: puppet 0.25.1 debs done... but availability delayed.

2009-10-30 Thread Nigel Kersten
They're up now by the way: http://packages.debian.org/sid/puppet The infrastructure changes around debian this week caused some delays. Normally this wouldn't take this long. On Fri, Oct 30, 2009 at 2:05 AM, Stig Sandbeck Mathisen wrote: > > On 29 Okt, 10:58, Nicolas Szalay wrote: >> >> Do

[Puppet Users] Re: need help in generating ssh authorize keys

2009-10-30 Thread haris
just to correct my puppet statement; I am trying to do this but it gives error; file { "${home}/${username}/.ssh/authorized_keys": { ensure => present, ... source => "puppet:///users/keys/id_rsa.pub.${username}", } but it Gives Error: Failed to retrieve current state of resource: Fileserver mod

[Puppet Users] need help in generating ssh authorize keys

2009-10-30 Thread haris
hi all, I need to generate ssh authorize keys for a list of users hosted on different servers.the users are active and each one has its public key (id_rsa.pub) hosted in 1 server. now what i need to do is to generate the authorize keys from each of their public key. the key is easily generating if

[Puppet Users] Re: puppet 0.25.1 debs done... but availability delayed.

2009-10-30 Thread Stig Sandbeck Mathisen
On 29 Okt, 10:58, Nicolas Szalay wrote: > > Do you plan to make (even unofficial) backport for lenny of 0.25.X ? Put the following in your /etc/apt/sources.list: deb http://people.debian.org/~ssm/puppet/ lenny/all/ -- Stig Sandbeck Mathisen --~--~-~--~~~---~--