Forge Home


Reference module to install OpenStack Havana with cubbystack


9,954 latest version

3.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Mar 1st 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jtopjian-havana', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jtopjian-havana
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jtopjian-havana --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



jtopjian/havana — version 0.2.0 Mar 1st 2014

Havana Reference Module

This module is a reference implementation for the cubbystack OpenStack Module.

Table of Contents

  1. Introduction
  2. Setup
  1. Usage
  1. Limitations
  2. Credits


This module is able to deploy a multi-node OpenStack environment out of the box. It currently supports two types of nodes:

  • Cloud Controller: Runs all services except for nova-compute
  • Compute Node: Runs nova-compute

In the future, this module will support more types as well as different variations on those types. Each type will probably be broken out into its own branch.



This module has been tested with Ubuntu 12.04. Each node only requires one network interface, although support for three interfaces is included in the configuration.

Puppet 3.2. You must also have the future parser enabled.

Hiera 1.3.

The cubbystack module.


Module Installation

This module installs just like any other Puppet module. Make sure it is located in a correct modulepath directory such as /etc/puppet/modules.

Hiera Configuration

This modules includes an example Hiera configuration file and data source. If you'd like to use the examples provided, first copy the Hiera configuration:

$ sudo cp hiera/hiera.yaml /etc/
$ sudo cp hiera/hiera.yaml /etc/puppet/

Then copy the example data source:

$ sudo mkdir /etc/puppet/hieradata
$ sudo cp hiera/common.yaml /etc/puppet/hieradata/

Finally, review the common.yaml file and change any parameters that need modified to suit your environment.


Once the module is installed and Hiera is configured, the last step is to apply a role to a node. This module comes with two roles: a cloud controller and compute node:

node '' {
  include havana::roles::controller

node /c[0-9] {
  include havana::roles::compute


This module is a reference module. Its purpose is to show you can use cubbystack in a practical way. Therefore this module will not cover all different types of OpenStack environments.


This module is based off of Chris Hoges's excellent Puppet work.