Git Product home page Git Product logo

puppetlabs-openstack_dev_env's Introduction

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

  2. 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/hosts.pp

stores basic host setup (apt setup, configured to use a proxy)

manifests/site.pp

installing module deps

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

getting started

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

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

puppetlabs-openstack_dev_env's People

Watchers

Aimon Bustardo avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.