Puppet Class: kickstack::quantum::agent::metadata

Inherits:
kickstack
Defined in:
manifests/quantum/agent/metadata.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/quantum/agent/metadata.pp', line 1

class kickstack::quantum::agent::metadata inherits kickstack {

  include kickstack::quantum::config

  $secret = getvar("${fact_prefix}quantum_metadata_shared_secret")

  $service_password = getvar("${fact_prefix}quantum_keystone_password")
  $metadata_ip = getvar("${fact_prefix}nova_metadata_ip")
  $keystone_internal_address = getvar("${fact_prefix}keystone_internal_address")

  class { '::quantum::agents::metadata':
    shared_secret     => $secret,
    auth_password     => "$service_password",
    debug             => $kickstack::debug,
    auth_tenant       => "$kickstack::keystone_service_tenant",
    auth_user         => 'quantum',
    auth_url          => "http://${keystone_internal_address}:35357/v2.0", 
    auth_region       => "$kickstack::keystone_region",
    metadata_ip       => $metadata_ip,
  }

}