Update example site.pp

This commit is contained in:
Dan Bode 2012-03-29 16:45:27 -07:00
parent 620c55387f
commit c7c7d8370f

View File

@ -1,15 +1,46 @@
node glance { node glance {
# set up glance server
class { 'glance::api':
swift_store_user => 'foo_user',
swift_store_key => 'foo_pass',
}
class { 'glance::registry': } class { 'role_glance_sqlite': }
} }
node glance_keystone {
class { 'concat::setup': }
class { 'keystone::sqlite': }
class { 'keystone':
log_verbose => true,
log_debug => true,
catalog_type => 'sql',
}->
class { 'keystone::roles::admin': }
class { 'role_glance_sqlite': }
class { 'glance::keystone::auth': }
}
node default { node default {
fail("could not find a matching node entry for ${clientcert}") fail("could not find a matching node entry for ${clientcert}")
} }
class role_glance_sqlite {
class { 'glance::api':
log_verbose => 'True',
log_debug => 'True',
swift_store_user => 'foo_user',
swift_store_key => 'foo_pass',
auth_type => 'keystone',
keystone_tenant => 'service',
keystone_user => 'glance',
keystone_password => 'glance_password',
}
class { 'glance::registry':
log_verbose => 'True',
log_debug => 'True',
auth_type => 'keystone',
keystone_tenant => 'service',
keystone_user => 'glance',
keystone_password => 'glance_password',
}
}