Puppet Class: profile::openstack::eqiad1::glance

Defined in:
modules/profile/manifests/openstack/eqiad1/glance.pp

Overview

Parameters:

  • version (String) (defaults to: lookup('profile::openstack::eqiad1::version'))
  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::openstack_controllers'))
  • keystone_fqdn (Stdlib::Fqdn) (defaults to: lookup('profile::openstack::eqiad1::keystone_api_fqdn'))
  • db_pass (String) (defaults to: lookup('profile::openstack::eqiad1::glance::db_pass'))
  • db_host (Stdlib::Fqdn) (defaults to: lookup('profile::openstack::eqiad1::glance::db_host'))
  • ldap_user_pass (String) (defaults to: lookup('profile::openstack::eqiad1::ldap_user_pass'))
  • api_bind_port (Stdlib::Port) (defaults to: lookup('profile::openstack::eqiad1::glance::api_bind_port'))
  • glance_backends (Array[String]) (defaults to: lookup('profile::openstack::eqiad1::glance_backends'))
  • ceph_pool (String) (defaults to: lookup('profile::openstack::eqiad1::glance::ceph_pool'))


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
# File 'modules/profile/manifests/openstack/eqiad1/glance.pp', line 1

class profile::openstack::eqiad1::glance (
    String $version = lookup('profile::openstack::eqiad1::version'),
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::eqiad1::openstack_controllers'),
    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'),
    ) {

    require ::profile::openstack::eqiad1::clientpackages
    class {'::profile::openstack::base::glance':
        version               => $version,
        openstack_controllers => $openstack_controllers,
        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,
    }
    contain '::profile::openstack::base::glance'

    class { 'openstack::glance::monitor':
        contact_groups => 'wmcs-team-email,admins',
    }
}