Skip to content

Instantly share code, notes, and snippets.

Created March 31, 2014 16:18
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/9896008 to your computer and use it in GitHub Desktop.
Save anonymous/9896008 to your computer and use it in GitHub Desktop.
class keystone::wrapper {
class { 'keystone':
verbose => true,
debug => true,
catalog_type => 'sql',
admin_token => 'password',
sql_connection => 'mysql://keystone_admin:password@127.0.0.1/keystone',
}
# Adds the admin credential to keystone.
class { 'keystone::roles::admin':
email => 'admin@example.com',
password => 'password',
}
# Installs the service user endpoint.
class { 'keystone::endpoint':
public_address => 'xx.xx.xx.xx',
admin_address => 'xx.xx.xx.xx',
internal_address => 'xx.xx.xx.xx',
}
class { 'mysql::server':}
class { 'keystone::db::mysql':
password => 'password',
allowed_hosts => '%',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment