Puppet Class: kickstack::neutron::agent::metadata

Inherits:
kickstack
Defined in:
manifests/neutron/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
23
# File 'manifests/neutron/agent/metadata.pp', line 1

class kickstack::neutron::agent::metadata inherits kickstack {

  include kickstack::neutron::config

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

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

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

}