[Puppet Users] Re: Environment settings not functional

2010-03-31 Thread Tore
Hi, Thanks, I needed to add the `manifest' option to my puppmaster under [main] and [staging]. I removed [production] all together. Notice, that output from the client node always showed manifestdir to be /etc/puppet/manifests: #puppetd --test --debug --environment staging-- configprint environme

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/30 smain kahlouch > > > 2010/3/30 Ben Lovell > >> On 30 March 2010 16:38, smain kahlouch wrote: >> >>> >>> >>> 2010/3/30 smain kahlouch >>> 2010/3/30 smain kahlouch > > 2010/3/30 Peter Meier > > gem update rack >>> Updating installed gems

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread Daniel Kerwin
Can you post your apache config? Maybe you want to compare it to i config i posted: http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch wrote: > > > 2010/3/30 smain kahlouch >> >> >> 2010/3/30 Ben Lovell >>> >>> On 30 March 20

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread Ben Lovell
> > > > 2010/3/30 Peter Meier > > gem update rack >>> Updating installed gems >>> Updating rack >>> Successfully installed rack-1.1.0 >>> Gems updated: rack >>> >>> I still have the same error. >>> >> >> just to be sure: you restarted apache, ri

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Daniel Kerwin > Can you post your apache config? Maybe you want to compare it to i > config i posted: > http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ > > On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch > wrote: > > > > > > 2010/3/30 smain kahlouch > >> > >>

Re: [Puppet Users] Re: Environment settings not functional

2010-03-31 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/03/10 6:29 PM, Tore wrote: > I wish I could update the documentation on the wiki, but for some > reason Redemi believes I've allready got an registered account, but > I'm not able to log in with OpenID :/ > What's your user name? Regards Jame

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Ben Lovell > >> >> 2010/3/30 Peter Meier >> >> gem update rack Updating installed gems Updating rack Successfully installed rack-1.1.0 Gems updated: rack I still have the same error. >>> >>> just to

[Puppet Users] Mongrel : Can't download files

2010-03-31 Thread smain kahlouch
Hi, i'm following the steps of the documentation but the links are not working. I can't download the files : http://projects.reductivelabs.com/projects/puppet/wiki/Using_Mongrel_On_Debian Thanks for your help, Grifith -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread Ben Lovell
On 31 March 2010 11:03, smain kahlouch wrote: > > > 2010/3/31 Ben Lovell > > >>> >>> 2010/3/30 Peter Meier >>> >>> gem update rack > Updating installed gems > Updating rack > Successfully installed rack-1.1.0 > Gems updated: rack > >>

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Ben Lovell > On 31 March 2010 11:03, smain kahlouch wrote: > >> >> >> 2010/3/31 Ben Lovell >> >> 2010/3/30 Peter Meier gem update rack >> Updating installed gems >> Updating rack >> Successfully installed rack-1.1.0 >>>

[Puppet Users] Replacing a puppet server

2010-03-31 Thread LOhit
Hi, Since puppet doesn't have HA/fail over capabilities as of now. How does one mitigate a puppet master failure( Ex. Hardware). When you replace the server and configure the Puppet masterd, the clients may no longer be able to communicate with the server, since the server's SSL certificates would

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Nicolas Szalay
Le mercredi 31 mars 2010 à 16:22 +0530, LOhit a écrit : > Hi, Hi, > Since puppet doesn't have HA/fail over capabilities as of now. How > does one mitigate a puppet master failure( Ex. Hardware). When you > replace the server and configure the Puppet masterd, the clients may > no longer be able to

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread Ben Lovell
On 31 March 2010 11:20, smain kahlouch wrote: > > > 2010/3/31 Ben Lovell > >> On 31 March 2010 11:03, smain kahlouch wrote: >> >>> >>> >>> 2010/3/31 Ben Lovell >>> >>> > > 2010/3/30 Peter Meier > > gem update rack >>> Updating installed gems >>

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Akins, Brian
On 3/31/10 6:52 AM, "LOhit" wrote: > BTW, I am using puppet to manage about 700+ hosts, Before we started using rsync and running puppet locally on each host, we actually added the SSL certs to SVN. Cheesy, but we could quickly, and easily, move clients from master to master. -- Brian Akins -

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread R.I.Pienaar
hello, The master doesn't actually need a copy of the signed certs on the its drives. All the master needs is the CA that signed the nodes. If you set your masters up that you access them via a CNAME such as 'puppet' all you need to really bother with is making sure your new master is on that

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Cosimo Streppone
R.I.Pienaar wrote: All the master needs is the CA that signed the nodes. If you set your masters up that you access them via a CNAME such as 'puppet' all you need to really bother with is making sure your new master is on that name and has the same CA as before. Excuse me for the question, b

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Tue, Mar 30, 2010 at 9:46 PM, Daniel Pittman wrote: > [...] > > Your client logs *still* show that there is no MOTD stuff being touched at > all; try this on the client that should manage MOTD and see what is output: > >puppetd --test --debug 2>&1 | grep -i motd > > I suspect the answer wi

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread R.I.Pienaar
hello, - "Cosimo Streppone" wrote: > R.I.Pienaar wrote: > > > All the master needs is the CA that signed the nodes. If > > you set your masters up that you access them via a CNAME > > such as 'puppet' all you need to really bother with > > is making sure your new master is on that name an

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Gustavo Soares
Ok, thanks. I'll check the code too. Gus --- Original message --- From: James Turnbull To: puppet-users@googlegroups.com Sent: 30.3.'10, 22:58 On 31 March 2010 11:36, Paul Lathrop wrote: It does exist! Sadly, the documentation is the code, as far as I've been able to determine. Y

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Nigel Kersten
On Wed, Mar 31, 2010 at 6:02 AM, Charles Johnson wrote: > > > On Tue, Mar 30, 2010 at 9:46 PM, Daniel Pittman wrote: >> >> [...] >> Your client logs *still* show that there is no MOTD stuff being touched at >> all; try this on the client that should manage MOTD and see what is >> output: >> >>  

Re: [Puppet Users] Mongrel : Can't download files

2010-03-31 Thread Michael DeHaan
On Wed, Mar 31, 2010 at 6:05 AM, smain kahlouch wrote: > Hi, > > i'm following the steps of the documentation but the links are not working. > I can't download the files : > > > http://projects.reductivelabs.com/projects/puppet/wiki/Using_Mongrel_On_Debian > > Thanks for your help, > Grifith >

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Brice Figureau
On Wed, 2010-03-31 at 10:45 -0300, Gustavo Soares wrote: > Ok, thanks. > > I'll check the code too. You can also have a look to the auth.conf file which lists most of the REST urls. -- Brice Figureau Follow the latest Puppet Community evolutions on www.planetpuppet.org! -- You received this m

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Nigel Kersten
On Wed, Mar 31, 2010 at 7:19 AM, Brice Figureau wrote: > On Wed, 2010-03-31 at 10:45 -0300, Gustavo Soares wrote: >> Ok, thanks. >> >> I'll check the code too. > > You can also have a look to the auth.conf file which lists most of the > REST urls. I found that using ssldump to sniff the connectio

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Michael DeHaan
On Tue, Mar 30, 2010 at 8:36 PM, Paul Lathrop wrote: > It does exist! > > Sadly, the documentation is the code, as far as I've been able to > determine. You can get a fair amount of information if you are using a > webserver like Apache in front of puppetmasterd by watching your > access logs. > >

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Michael DeHaan
On Wed, Mar 31, 2010 at 10:30 AM, Michael DeHaan wrote: > > > On Tue, Mar 30, 2010 at 8:36 PM, Paul Lathrop wrote: > >> It does exist! >> >> Sadly, the documentation is the code, as far as I've been able to >> determine. You can get a fair amount of information if you are using a >> webserver like

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Wed, Mar 31, 2010 at 9:16 AM, Nigel Kersten wrote: > > > /etc/puppet/modules/motd/manifests/init.pp looks like this > > class motd { > > include prodcomputenode > > include prodgateway > > shouldn't this be > > include motd::prodgateway ? > > > include testcomputenode > > inclu

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Nigel Kersten
On Wed, Mar 31, 2010 at 7:41 AM, Charles Johnson wrote: > > > On Wed, Mar 31, 2010 at 9:16 AM, Nigel Kersten wrote: >> >> > /etc/puppet/modules/motd/manifests/init.pp looks like this >> > class motd { >> >     include prodcomputenode >> >     include prodgateway >> >> shouldn't this be >> >> incl

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Brice Figureau
On Wed, 2010-03-31 at 07:29 -0700, Nigel Kersten wrote: > On Wed, Mar 31, 2010 at 7:19 AM, Brice Figureau > wrote: > > On Wed, 2010-03-31 at 10:45 -0300, Gustavo Soares wrote: > >> Ok, thanks. > >> > >> I'll check the code too. > > > > You can also have a look to the auth.conf file which lists mos

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Ohad Levy
LOhit, The main two things to take into account are: 1. keep your manifests elsewhere, IMHO puppetmasters always gets RO copy of your puppet data (e.g. from a VCS). 2. Solve the SSL hell, then everything is simple. I've been using in my setup (with approx 15 productive puppetmasters and

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Wed, Mar 31, 2010 at 10:02 AM, Nigel Kersten wrote: > Which examples? > > I've always qualified the full class name, in 0.24 and 0.25. I didn't > realize you could do what you've done above. > > It seems undesirable, ie: > > class foo { > ... > } > > class eggs { > include foo > } > > class

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Nigel Kersten
On Wed, Mar 31, 2010 at 8:29 AM, Charles Johnson wrote: > > > On Wed, Mar 31, 2010 at 10:02 AM, Nigel Kersten wrote: >> >> Which examples? >> I've always qualified the full class name, in 0.24 and 0.25. I didn't >> realize you could do what you've done above. >> >> It seems undesirable, ie: >> >>

Re: [Puppet Users] puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
Thanks! I will be trying that, or going back to 0.24.8 :) On Wed, Mar 31, 2010 at 10:33 AM, Nigel Kersten wrote: > On Wed, Mar 31, 2010 at 8:29 AM, Charles Johnson > wrote: > > > > > > On Wed, Mar 31, 2010 at 10:02 AM, Nigel Kersten > wrote: > >> > >> Which examples? > >> I've always qualified

Re: [Puppet Users] London Puppet Meet - Wednesday 31 March

2010-03-31 Thread Julian Simpson
Guys, I can't make it to the pub. Have a great time! Julian. On 30 March 2010 10:17, Paul Nasrat wrote: > On 30 March 2010 08:04, Gary Law wrote: > > Sorry guys, made my suggestion before I say this! Go for the Green Man... > > Not a problem. > > I owe you an email re solaris. > > Paul > > -

[Puppet Users] Reminder: student Google Summer of Code signups close April 9th

2010-03-31 Thread Michael DeHaan
As I mentioned previously, Puppet is part of Google Summer of Code this year. I'm really excited to see this. If you are or know a student who might like to work on Puppet and related tools, sign up for Google Summer of Code ends April 9th. If you'd like to talk about questions/concerns/thoughts

[Puppet Users] RESOLVED: puppet 0.25.4 & passenger with 0.24.8 clients

2010-03-31 Thread cnjohnson
My thanks to Daniel Pittman and Nigel Kersten for their help. They helped put me on the right track to solving the problem. I had the problem of upgrading a puppet server from 0.24.8 to 0.25.4. Subsequently, classes were not imposed on the clients. There were no error messages either on the client

Re: [Puppet Users] London Puppet Meet - Wednesday 31 March

2010-03-31 Thread Mike Pountney
Me either unfortunately. See you all at DevOps at the Guardian instead, or PuppetCamp if not! On 31 Mar 2010, at 17:17, Julian Simpson wrote: Guys, I can't make it to the pub. Have a great time! Julian. On 30 March 2010 10:17, Paul Nasrat wrote: On 30 March 2010 08:04, Gary Law wrote:

[Puppet Users] Replacing a puppet server

2010-03-31 Thread Steven VanDevender
LOhit writes: > Hi, > > Since puppet doesn't have HA/fail over capabilities as of now. How does one > mitigate a puppet master failure( Ex. Hardware). When you replace the server > and configure the Puppet masterd, the clients may no longer be able to > communicate with the server, since the

[Puppet Users] How to manipulate contents of directory without affecting parent directory

2010-03-31 Thread Terra
Greetings, I'm having a bit of a problem where file{} doesn't support globbing... Say I have the following directory tree: /foo (mode: 0751) /foo/bar1 /foo/baz1 /foo/random1 ... /foo/randomN All subdirectories under '/foo' can be arbitrary names... How I would like to be able to express this,

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Christopher Wicklein
We had exactly the same problem at our site over the weekend and resolved it by... logging in to every node, stopping puppetd, cleaning out /var/lib/puppet, and starting puppetd once again. We still use a twisted-python tool to run one-off commands and executables in parallel with ssh, and

[Puppet Users] Could not find dependency

2010-03-31 Thread Darvin Denmian
Hello, I have the following define: define adduser ($shell, $group, $fullname, $ingroups = "none", $home = "none") { user { "$name": ensure => present, comment => "$fullname", gid => "$group", groups => "$ingroups", membership => minimum, shell => "$shell",

Re: [Puppet Users] How to manipulate contents of directory without affecting parent directory

2010-03-31 Thread Brian Wingenroth
On 3/31/10 5:37 PM, Terra wrote: Greetings, I'm having a bit of a problem where file{} doesn't support globbing... Say I have the following directory tree: /foo (mode: 0751) /foo/bar1 /foo/baz1 /foo/random1 ... /foo/randomN All subdirectories under '/foo' can be arbitrary names... How I woul

Re: [Puppet Users] REST API for puppet

2010-03-31 Thread Gustavo Soares
ok, I will do that. I am using apache + passenger. Thanks. On Wed, Mar 31, 2010 at 12:05 PM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > On Wed, 2010-03-31 at 07:29 -0700, Nigel Kersten wrote: > > On Wed, Mar 31, 2010 at 7:19 AM, Brice Figureau > > wrote: > > > On Wed, 2010-03-31

[Puppet Users] Re: How to manipulate contents of directory without affecting parent directory

2010-03-31 Thread Terra
Hello Brian, On Mar 31, 3:24 pm, Brian Wingenroth wrote: > On 3/31/10 5:37 PM, Terra wrote: > > > > > Greetings, > > > I'm having a bit of a problem where file{} doesn't support globbing... > > > Say I have the following directory tree: > > /foo  (mode: 0751) > > /foo/bar1 > > /foo/baz1 > > /foo/

Re: [Puppet Users] Could not find dependency

2010-03-31 Thread Michael DeHaan
On Wed, Mar 31, 2010 at 6:30 PM, Darvin Denmian wrote: > Hello, > > I have the following define: > > define adduser ($shell, $group, $fullname, $ingroups = "none", $home = > "none") { > user { "$name": > ensure => present, > comment => "$fullname", > gid => "$group", > groups

Re: [Puppet Users] Re: How to manipulate contents of directory without affecting parent directory

2010-03-31 Thread Michael DeHaan
> I was hoping that there was a way for Puppet to remember the > subdirectories and only chmod on new subdirectories that are not mode > 700... > > or if that is too complicated to support internally, then something > simple like: > If file{} had globbing ability, then > [pseudo] file { "/foo/*":

Re: [Puppet Users] Mongrel : Can't download files

2010-03-31 Thread Smain Kahlouch
Message initial De: Michael DeHaan Reply-to: puppet-users@googlegroups.com À: puppet-users@googlegroups.com Cc: James Turnbull Sujet: Re: [Puppet Users] Mongrel : Can't download files Date: Wed, 31 Mar 2010 10:17:24 -0400 On Wed, Mar 31, 2010 at 6:05 AM, smain kahlouch wrote

[Puppet Users] ANNOUNCE: Puppet 0.25.5 - Release Candidate 1 available!

2010-03-31 Thread James Turnbull
Welcome back to the Puppet release cycle - brought to you by the newly minted Puppet Labs. The 0.25.5 release is a maintenance release in the 0.25.x branch. It contains a number of bug fixes but also some performance enhancements including speed-ups to Puppet's graphing. The release candidate