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
27
28
29
30
31
32
33
|
# File 'modules/profile/manifests/openstack/eqiad1/glance.pp', line 1
class profile::openstack::eqiad1::glance (
String $version = lookup('profile::openstack::eqiad1::version'),
Array[OpenStack::ControlNode] $openstack_control_nodes = lookup('profile::openstack::eqiad1::openstack_control_nodes'),
Stdlib::Fqdn $keystone_fqdn = lookup('profile::openstack::eqiad1::keystone_api_fqdn'),
String $db_pass = lookup('profile::openstack::eqiad1::glance::db_pass'),
Stdlib::Fqdn $db_host = lookup('profile::openstack::eqiad1::glance::db_host'),
String $ldap_user_pass = lookup('profile::openstack::eqiad1::ldap_user_pass'),
Stdlib::Port $api_bind_port = lookup('profile::openstack::eqiad1::glance::api_bind_port'),
Array[String] $glance_backends = lookup('profile::openstack::eqiad1::glance_backends'),
String $ceph_pool = lookup('profile::openstack::eqiad1::glance::ceph_pool'),
Array[Stdlib::Fqdn] $haproxy_nodes = lookup('profile::openstack::eqiad1::haproxy_nodes'),
Boolean $enforce_policy_scope = lookup('profile::openstack::eqiad1::keystone::enforce_policy_scope'),
Boolean $enforce_new_policy_defaults = lookup('profile::openstack::eqiad1::keystone::enforce_new_policy_defaults'),
) {
require ::profile::openstack::eqiad1::clientpackages
class {'::profile::openstack::base::glance':
version => $version,
openstack_control_nodes => $openstack_control_nodes,
keystone_fqdn => $keystone_fqdn,
db_pass => $db_pass,
db_host => $db_host,
ldap_user_pass => $ldap_user_pass,
api_bind_port => $api_bind_port,
glance_backends => $glance_backends,
ceph_pool => $ceph_pool,
active => true,
haproxy_nodes => $haproxy_nodes,
enforce_policy_scope => $enforce_policy_scope,
enforce_new_policy_defaults => $enforce_new_policy_defaults,
}
contain '::profile::openstack::base::glance'
}
|