Go to file
Dan Bode a40b2bc990 fix gui_mode
Previously gui_mode was checking for a value
of 'true' in the config.yaml file.

This did not match the default value of true
that was set there.

This commit changes this parameter to expect
a boolean value of true or false instead of a
string to make it more consistent with the other
values.

Change-Id: If3f55a16e38bd4bea310bac31b9ef7ac9de158af
2013-04-23 13:21:29 -07:00
2013-04-10 13:50:00 -07:00
2013-04-23 13:21:29 -07:00
2013-04-07 20:26:53 -07:00
2013-04-07 20:26:53 -07:00
2013-04-21 17:09:34 -04:00
2013-04-23 13:21:29 -07:00

sharable openstack puppet dev environment

This project contains everything that you need to rebuild the same development environment that I built initilaly for the folsom implementation of the openstack puppet modules.

prereqs

  1. Ensure that you have rake as well as rubygems installed

  2. install vagranat and dependencies:

vagrant should be installed

> gem install vagrant

virtualbox should be installed

  1. Install librarian-puppet.

    gem install librarian-puppet

3a. Install github_api.

# WARNING - other versions are known to have bugs
> gem install github_api -v 0.8.1
  1. it is strongly recommended that you set up a proxy (like squid!) to speed up perforance of package installation.

project contents

This project contains the following files

Vagrantfile - used to specify the virtual machines that vagrant can use to spin up test openstack environments.

Rakefile - stores tasks that can be used to build out openstack environments

Puppetfile - used by librarian puppet to install the required modules

manifests/setup/hosts.pp

stores basic host setup (ip addresses for vagrant targets)

manifests/setup/percise64.pp

stores apt setup, configured to use a proxy, and folsom package pointer(s)

manifests/setup/centos.pp

stores yum setup, configuration for a local yum repo machine, and folsom package pointer(s)

manifests/site.pp

just what you'd expect it to be.

installing module deps

# cd in to the project directory
> librarian-puppet install

getting started

Configure the precise64.pp file to point to your apt cache (or comment out the proxy host and port from the following resource) (similar for centos.pp)

class { 'apt':
  proxy_host => '172.16.0.1',
  proxy_port => '3128',
}

Too see a list of the virtual machines that are managed by vagrant, run

> vagrant status
devstack                 not created
openstack_controller     not created
compute1                 not created
nova_controller          not created
glance                   not created
keystone                 not created
mysql                    not created

To see a list of all available rake tasks, run: (rake tasks have not yet been defined)

> rake -T

Deploy a controller and a compute node:

> vagrant up openstack_controller
# wait until this finishes
> vagrant up compute1
# wait until this finishes

Once these finish successfully, login to the controller:

> vagrant ssh openstack_controller

Run the following test script:

[controller]# bash /tmp/test_nova.sh
Description
RETIRED, OpenStack Puppet Dev Environment
Readme 367 KiB