DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations

Automated Build Systems with Puppet & Cobbler

Matthew Macdonald-wallace user avatar by
Matthew Macdonald-wallace
·
May. 02, 12 · Interview
Like (0)
Save
Tweet
Share
16.93K Views

Join the DZone community and get the full member experience.

Join For Free

OK, so I’m not the first to blog about this, however I’m using Cobbler and Puppet to automate the creation of VMs on my laptop for testing/staging purposes so I thought I’d blog about it here.

The aim is to use Cobbler to setup the base operating system and install puppet, then let Puppet take over and install and configure the rest of the system.

There’s a few things we need to do:

  1. Install a server to act as the “master” server
  2. Install Cobbler
  3. Install Puppet

Although I usually use Debian or Ubuntu, Cobbler works best on CentOS and that’s what I use during my day job, so we’ll be installing CentOS as the base operating system on the master server.

Download the version of CentOS you want to use (although it’s worth digging out the “netinstall” image if you don’t want to download five or six isos!) and install an absolute minimal system – disable everything when it asks you which packages to install – the less clutter the better!

Enable the EPEL repository (download the RPM from http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm then install it using ‘rpm -Uvh epel-release-5-3.noarch.rpm’) and install cobbler with a simple

yum install cobbler cobbler-web puppet puppet-server


This will install not only cobbler but also the web interface – the web interface is very useful for adding systems etc to cobbler.

Before proceeding with the configuration of cobbler and puppet, make sure you also install “yum-utils” and “cman”.

I know that this is cheating, but follow the installation instructions found at https://fedorahosted.org/cobbler/wiki/UsingCobblerImport and https://fedorahosted.org/cobbler/wiki/CobblerWebInterface and then come back here to continue setting up the system.

Once your master cobbler server is set up, test it by building a basic system via PXE.  Once you are happy that works, move on to the next item – configuring Puppet.

operating system Cobbler (software) Build (game engine)

Published at DZone with permission of Matthew Macdonald-wallace, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How To Best Use Java Records as DTOs in Spring Boot 3
  • How To Use Java Event Listeners in Selenium WebDriver
  • Microservices 101: Transactional Outbox and Inbox
  • Fixing Bottlenecks in Your Microservices App Flows

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: