Skip to content

Instantly share code, notes, and snippets.

Created March 31, 2014 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9899225 to your computer and use it in GitHub Desktop.
Save anonymous/9899225 to your computer and use it in GitHub Desktop.
class keystone::wrapper {
Exec { logoutput => 'on_failure' }
class { 'mysql::server':}
class { 'keystone::db::mysql':
password => 'password',
}
class { 'keystone':
verbose => true,
debug => true,
catalog_type => 'sql',
admin_token => 'password',
enabled => false,
sql_connection => 'mysql://keystone_admin:password@localhost/keystone',
enable_ssl => true,
}
# Adds the admin credential to keystone.
class { 'keystone::roles::admin':
email => 'example@openstack.com',
password => 'password',
}
# Installs the service user endpoint.
class { 'keystone::endpoint':
public_url => 'https://xx.xx.xx.xx:5000',
admin_url => 'https://xx.xx.xx.xx:35357',
internal_url => 'https://xx.xx.xx.xx:5000',
}
include apache
class { 'keystone::wsgi::apache':
ssl => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment