Puppet hints

When they say “webrick is crap, use mongrel” they really do mean it. Webrick is enough to do a little basic testing to satisfy yourself that this tool might be useful to you, but once you’ve got even 50 machines talking to it, it starts failing all over the place.

Takes extra work to set up mongrel, but TFM is pretty much spot-on in this respect.

Also: don’t bother running puppetd as a daemon. Run it from cron with “–onetime –splay” instead. Hell, have it set up its own crontab entry:

        cron {puppetd:
                command => "puppetd --onetime --splay",
                user => root,
                minute => [ 15, 45]
        }

Use modules. Use them from the very start. They really do make life easier, and if you use them from the start then you don’t have that awkward period when you’ve got 50+ machines using an old un-modular configuration and now you have to very carefully migrate them all.

(i.e., don’t be an idiot, do what I say, not what I did!)

Popularity: 23% [?]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot

Discussion Area - Leave a Comment