1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'manifests/glance/registry.pp', line 1
class kickstack::glance::registry inherits kickstack {
include kickstack::glance::config
$service_password = getvar("${fact_prefix}glance_keystone_password")
$sql_conn = getvar("${fact_prefix}glance_sql_connection")
$keystone_internal_address = getvar("${fact_prefix}keystone_internal_address")
class { '::glance::registry':
verbose => $kickstack::verbose,
debug => $kickstack::debug,
auth_host => "$keystone_internal_address",
keystone_tenant => "$keystone_service_tenant",
keystone_user => 'glance',
keystone_password => "$service_password",
sql_connection => "$sql_conn",
}
# Export the registry host name string for the service
kickstack::exportfact::export { "glance_registry_host":
value => "${hostname}",
tag => "glance",
require => Class['::glance::registry']
}
}
|