How to set up Cobbler with Puppet or Cfengine?

5,319

Solution 1

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 ;)

Solution 2

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.

Share:
5,319

Related videos on Youtube

Continuation
Author by

Continuation

Updated on September 17, 2022

Comments

  • Continuation
    Continuation over 1 year

    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.

  • womble
    womble over 14 years
    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.
  • Karl Katzke
    Karl Katzke over 14 years
    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.
  • BJladu4
    BJladu4 over 14 years
    Karl: it's even worse with Cfengine then: it's not modular, and the source code is in C.
  • poldek
    poldek over 14 years
    @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/….
  • BJladu4
    BJladu4 over 14 years
    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).
  • Kaunteya
    Kaunteya over 13 years
    There's a zypper provider in puppet as of 2.6.0.
  • Henk
    Henk almost 13 years
    Link is dead... Any mirrors (can't find on through Google)?
  • smoak
    smoak over 12 years
    Unfortunately I can't find any mirrors either. This looks to be a close alternative though: projects.puppetlabs.com/projects/1/wiki/…
  • Henk
    Henk about 12 years