[Puppet Users] Custom fact works in Facter but not in Puppet

2011-02-09 Thread John Arundel
Hi, I defined a simple custom fact which just returns "Hello, world". Following the instructions in http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts http://docs.puppetlabs.com/guides/plugins_in_modules.html I added the source file as modules/admin/lib/facter/hello.rb and enabled 'plu

Re: [Puppet Users] Is a puppet server essential?

2010-08-27 Thread John Arundel
On Fri, Aug 27, 2010 at 5:23 PM, Thomas Bellman wrote: > Running a Puppet server (puppetmasterd) is only essential if you > are running Puppet in its client-server mode.  You can also run > Puppet in a stand-alone mode, using the 'puppet' executable. > > However, then you need some other way of ge

[Puppet Users] Puppet tutorial (part 2)

2010-08-09 Thread John Arundel
Hi, Part 2 of my Puppet tutorial series is now up at: http://bitfieldconsulting.com/puppet-tutorial-2 It covers installing Puppet packages via Yum, creating a basic manifest, authorising a new client, and the first run of Puppet on the client. If you missed the first part, it's here: http://bitf

Re: [Puppet Users] Re: Dependency cycles, please help.

2010-03-10 Thread John Arundel
On Fri, Mar 5, 2010 at 1:09 PM, Julien Cornuwel wrote: >> Could not apply complete catalog: Found dependency cycles in the following >> relationships: Exec[/usr/sbin/a2enmod passenger] => >> Exec[force-reload-apache2], Package[passenger] => Exec[passenger-install], >> Exec[passenger-install] => Fi

Re: [Puppet Users] "What is Puppet?" Presentation

2010-02-11 Thread John Arundel
On Wed, Feb 10, 2010 at 10:50 PM, Avi Miller wrote: >> Might be something to mine here :) >> http://reductivelabs.com/trac/puppet/wiki/PuppetPresentations > > That's exactly what I was looking for. Go go crowd-surfed Google searching. Do they like badly hand-drawn cartoons? If so, feel free to us

Re: [Puppet Users] Puppet and Drupal

2010-02-09 Thread John Arundel
On Tue, Feb 9, 2010 at 7:58 PM, Eric Gerlach wrote: > One thing we did which we like is that we set up a git repository for our > themes.  The theme designer can check into the development or production > branches of that repo, and the appropriate server will pull down the changes. Coincidence -

[Puppet Users] Puppet and Drupal

2010-02-08 Thread John Arundel
Hi, Unlike a lot of CMSes out there, Drupal has an excellent automation tool in the form of Drush. With a bit of Puppet magic, you can automate most of the common tasks and components in building a Drupal site (or managing a multisite install). I've written up some example recipes which I use for

[Puppet Users] Using Git to distribute Puppet configs

2010-01-27 Thread John Arundel
Hi, Stephen would never mention it himself, he's too modest, but he's done a great write-up of how he uses Git (or other DVCS) to distribute manifests instead of using a Puppetmaster. It's quite flexible and powerful (you can use a post-receive hook on the remote repos to run Puppet whenever a new

Re: [Puppet Users] Puppet vs Chef: 10 reasons why Puppet wins

2010-01-13 Thread John Arundel
On Wed, Jan 13, 2010 at 2:35 PM, Ohad Levy wrote: > Great post! > I'll be happy if you add foreman to your second point ;) Happy to oblige :) J -- Bitfield Consulting: we make software that makes things work http://bitfieldconsulting.com/ -- You received this message because you are subscribed

[Puppet Users] Puppet vs Chef: 10 reasons why Puppet wins

2010-01-13 Thread John Arundel
It may be preaching to the converted, but I've put together a list of 10 areas where I think Puppet has the advantage over Chef. It's my experience that most people using or enthusing about Chef haven't had much exposure to Puppet (often because they come from developer world, where Puppet isn't wi

[Puppet Users] Calling London Puppet fans!

2009-11-24 Thread John Arundel
Hi, If you're in London and have a free evening this Thursday, come along to the inaugural London DevOps Curry Night! As the name suggests it's meant to bring together like-minded devs and sysadmins, especially those interested in config management and automation, over some food and beers. There w

[Puppet Users] Puppet explained, in badly-drawn cartoons

2009-11-19 Thread John Arundel
Hi, I thought this might amuse you if you haven't already seen it. The slides and video from my recent talk at LRUG on 'Agile Sysadmin and the Art of Infrastructure Automation' - subtitled 'Is Your Sysadmin Dumber Than A Hamster?'[1] http://bitfieldconsulting.com/agile-sysadmin It was slightly i

[Puppet Users] Re: Module include order?

2009-10-27 Thread John Arundel
On Tue, Oct 27, 2009 at 3:45 AM, jcbollinger wrote: > Where there are dependencies among the managed resources, Puppet will > choose a path that accommodates them, as long as you describe the > dependencies accurately.  Sometimes you can luck out with > underspecified dependencies, and sometimes o

[Puppet Users] Re: puppet-users - 7 new messages in 5 topics - digest

2009-10-24 Thread John Arundel
> Date: Fri, Oct 23 2009 3:26 pm > From: Avi Miller > James Turnbull wrote: >> But you can't connect a client to the master without signing a >> certificate or turning autosign on. > > You can if the client is question is the master itself: it signs it's > own certificates automatically, so puppet

[Puppet Users] Re: Puppet tutorial (and talk)

2009-10-23 Thread John Arundel
On 23 Oct 2009, at 21:55, James Turnbull wrote: > But you can't connect a client to the master without signing a > certificate or turning autosign on. Hmm, maybe I made a mistake. I thought you didn't have to do this when the server was running on the local machine. I don't remember signing

[Puppet Users] Re: Puppet tutorial (and talk)

2009-10-23 Thread John Arundel
On Thu, Oct 22, 2009 at 9:39 PM, joe wrote: > On Oct 22, 1:48 pm, John Arundel wrote: >> http://bitfieldconsulting.com/puppet-tutorial > > There doesn't seem to be any mention of cert signing... That's all coming up in part 2! In the first article, I wanted to get as q

[Puppet Users] Puppet tutorial (and talk)

2009-10-22 Thread John Arundel
Hi, I recently wrote a blog post for absolute beginners with Puppet, hopefully the first in a tutorial series called 'Powering Up With Puppet'. I'd be grateful for some feedback on it, both from beginners (to let me know if it helps them) and from the experts here (to point out my mistakes). htt