OpenStack Glance Puppet Module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Bode 3342b54638 Release 1.0.0 6 years ago
examples switch single.pp to site.pp 6 years ago
ext update passwords from test script 6 years ago
lib/puppet Properly load parent provider from another module 6 years ago
manifests update docs 6 years ago
spec remove auth_url param 6 years ago
tests switch log_verbose,log_debug to debug,verbose 6 years ago
.fixtures.yml Add create_resource to fixures 6 years ago
.gemfile Switch to using the puppetlabs_spec_helper gem for common files instead of duplicating code 7 years ago
.gitignore add gitignore 6 years ago
.travis.yml Add more branches 6 years ago
CHANGELOG Release 1.0.0 6 years ago
LICENSE Add Apache LICENSE FILE 6 years ago
Modulefile Release 1.0.0 6 years ago
README.markdown update docs 6 years ago
Rakefile Switch to using the puppetlabs_spec_helper gem for common files instead of duplicating code 7 years ago
TODO Add test script 7 years ago

README.markdown

PuppetLabs Glance module

This module provides a set of manifests that can be used to install and configure glance.

It is currently targettting the folsom release of OpenStack.

Use the essex branch for essex support.

Platforms

  • Ubuntu 11.04 (Natty)
  • Ubuntu 11.10 (Oneiric)
  • Ubuntu 12.04 (Precise)

configurations

Glance is configured with the following classes:

#configures glance::api service

class { ‘glance::api’:

verbose           => $verbose,
debug             => $verbose,
auth_type         => 'keystone',
auth_port         => '35357',
auth_host         => $keystone_host,
keystone_tenant   => 'services',
keystone_user     => 'glance',
keystone_password => $glance_user_password,
sql_connection    => $sql_connection,
enabled           => $enabled,

}

# configures the glance registry

class { ‘glance::registry’:

verbose           => $verbose,
debug             => $verbose,
auth_host         => $keystone_host,
auth_port         => '35357',
auth_type         => 'keystone',
keystone_tenant   => 'services',
keystone_user     => 'glance',
keystone_password => $glance_user_password,
sql_connection    => $sql_connection,
enabled           => $enabled,

}

# Configure file storage backend

class { ‘glance::backend::file’: }

# Create the Glance db, this should be configured on your mysql server class { ‘glance::db::mysql’:

user          => $glance_db_user,
password      => $glance_db_password,
dbname        => $glance_db_dbname,
allowed_hosts => $allowed_hosts,

}

# configures glance endpoints in keystone # should be run on your keystone server class { ‘glance::keystone::auth’:

password         => $glance_user_password,
public_address   => $glance_public_real,
admin_address    => $glance_admin_real,
internal_address => $glance_internal_real,
region           => $region,

}

for full examples, see the examples directory.

in the module, puppetlabs-openstack, the following classes configure parts of glance:

  • openstack::glance # api, file backend, and registry
  • openstack::keystone # sets up endpoints
  • openstack::db::mysql # sets up db config