Coder Social home page Coder Social logo

puppet-openstack-recipes's Introduction

OpenStack recipes for Puppet

This repository provides Puppet recipes for OpenStack (with some helper modules) I wrote. Since OpenStack is really complex to set up (especially when you're new to OpenStack), I want to share my findings.

Usage

Write your own role classes, to be included by your nodes, for example:

# this is the base class to define some common shared variables,
# that are used in templated configuration files,
# which define your specific environment.
class role_openstack_defines {
  $openstack_admin_tenant_name = "mycloud"
  $openstack_admin_username = "admin"
  $openstack_admin_password = "mYsecretPwe3"
  
  $openstack_glance_dbname = "glance"
  $openstack_glance_dbusername = "glancedbadmin"
  $openstack_glance_dbpassword = "mYsecreht0therPw"
  
  $openstack_nova_dbname = "nova"
  $openstack_nova_dbusername = "novadbadmin"
  $openstack_nova_dbpassword = "even-more-secret"
  
  $openstack_cc_ipaddr = $::ipaddress_eth0
  $openstack_db_ipaddr = $openstack_cc_ipaddr

  # this points to the public IP address of your *central* nova-network node
  $openstack_network_gw_public_ipaddr = "42.716.540.911"
}

class role_openstack_controller {
  # this class pulls all-in-one all required pieces for a central controller node in
  include openstack::controller

  # also install the Horizon dashboard on the controller node (for ease of setup)
  include openstack::dashboard
}

class role_openstack_compute {
  include openstack::keystone::client
  include openstack::glance::client
  include openstack::nova::client
  include openstack::nova::compute
}

More

... to come.

Disclaimer

Please remember, that, since OpenStack is highly customizable, these Recipes may not be what you are looking for. However, I try to make them as easy and usable as possible. In my setup, I am having one central controller node, and a dedicated nova-network node, both to be HA'd via Corosync/Pacemaker (recipes will be upgraded, in necessary).

puppet-openstack-recipes's People

Stargazers

Christian Parpart avatar

Watchers

 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.