Skip to content

Puppet module for euca2ools

July 18, 2012

I know that I’ve been lacking lately on the recipes front. I’m trying to get started so I’ve completed a little project, create a Puppet module for euca2ools. Now this module is quite simple as it simply needs to setup the Eucalyptus euca2ools repository for the OS and then install the euca2ools package. It makes some assumptions such as, if you have puppet on a CentOS box then you most-likely already have the EPEL repository in place (this sounds like a great feature to add a check for just in case EPEL is not installed).

Currently it’s been tested with Ubuntu 10.04 and 12.04 (using the puppet packages from http://apt.puppetlabs.com/) and CentOS 5 (6 should work but hasn’t explicitly been tested). Check it out in the Eucalyptus Recipes project on GitHub.

There are a couple of ways to run the module. You will need to get the euca2ools folder from the Recipes Project GitHub repo (note that it’s inside of the puppet directory of the repo). You then would drop the euca2ools folder into /etc/puppet/modules/ or wherever you wish to keep your puppet modules. Finally simply add a include euca2ools line to the puppet master or if running in a standalone fashion as talked about on this blog before create file in /etc/puppet/manifests/init.pp with the following contents:

include euca2ools

Complex I know. But it’s quite simple. After this you can either wait for the puppet agent to contact the puppet master or on a standalone box run puppet apply /etc/puppet/manifests/init.pp. And with that the latest version of euca2ools is installed on your host and is ready to go.

Check it out and let me know if you have any suggestions. I’m new to puppet so any comments from experience puppeteers would be helpful.

I’ve also added this module to a personal repository and uploaded it to the Puppet Forge. Check it out here: https://forge.puppetlabs.com/ahamilton55/euca2ools

About these ads
One Comment
  1. Reblogged this on More Mind Spew-age from Harold Spencer Jr. and commented:
    More Eucalyptus + DevOps Collaboration. Good blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 53 other followers

%d bloggers like this: