9

I've heard a lot about using Cobbler together with Puppet/Cfengine for rapid deployment & configuration.

Can you point me to some tutorials or share you experience of how you do it?

Would also love to hear about any other systems you use for rapid provisioning & deployment. Thanks.

4 Answers 4

3

Here is a good blog entry on how to bootstrap puppet using cobbler. The author uses VirtualBox Virtual Machines, but you can easily adapt it to a physical server.

http://number9.hellooperator.net/articles/2009/04/13/bootstrapping-puppet-from-cobbler

Basically, you have a kickstarter server that runs puppetmasterd and cobbler. You customize a kickstart to install puppet and start it automatically. Once its all done with the kickstart puppet runs and takes over.

It will take some time to fine tune everything to get it the way you want it, but with this set up you can create your own private LAN, create a profile for a particular server with cobbler, plug it in to the private LAN, boot and go watch a movie while your server is automatically built ;)

3
1

I'm running Cobbler with Puppet in a pure Red Hat / CentOS shop. It's working fine, although you have to work out scalability issues with Puppet if you have several hundred servers.

We were reworking the Puppet-templates for Xen/virt-install quite a bit, but the support for physical server installation with the Cobbler templates that are included with Puppet works well with Red Hat.

Unfortunately I do not have documentation that I can share.

5
  • Our deal-killer with puppet is the lack of a zypper interface. I don't have the time to sit down and learn ruby in order to develop one and provide tests against it, even if it'd be in my long-term best interest. Aug 16, 2009 at 6:38
  • Karl: it's even worse with Cfengine then: it's not modular, and the source code is in C.
    – raphink
    Dec 22, 2009 at 10:46
  • @Raphink: I beg to differ. Cfengine has built-in support to configure any package manager, and it's standard library comes with a pre-configured zypper interface. See cfengine.org/manuals/…. Jan 29, 2010 at 0:30
  • My bad Jonathan, I didn't really know what zypper was. I thought OpenSuSE used yum though. What's the advantage of using zypper when you automate deployement anyway? As a side note, adding support for zypper in puppet shouldn't be too hard (but it doesn't require some ruby dev indeed).
    – raphink
    Feb 2, 2010 at 9:08
  • There's a zypper provider in puppet as of 2.6.0. Jan 30, 2011 at 4:53
0

You can also use FAI with xen-tools. It supposedly works well, but I'm still testing it out.

1
  • 1
    FAI's one of those things that was a great idea when it first came out, but there are much better ways to do what it does now.
    – womble
    Aug 13, 2009 at 4:18
-1

Well, cfengine 3 has a complete language built write-in, so modular is not a requirement. It's also very lightweight and small.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .