Puppet Class: openstack::neutron::metadata_agent

Defined in:
modules/openstack/manifests/neutron/metadata_agent.pp

Overview

Parameters:

  • version (Any)
  • keystone_api_fqdn (Stdlib::Fqdn)
  • metadata_proxy_shared_secret (Any)
  • report_interval (Any)


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

class openstack::neutron::metadata_agent(
    $version,
    Stdlib::Fqdn $keystone_api_fqdn,
    $metadata_proxy_shared_secret,
    $report_interval,
    ) {

    class { "openstack::neutron::metadata_agent::${version}":
        keystone_api_fqdn            => $keystone_api_fqdn,
        metadata_proxy_shared_secret => $metadata_proxy_shared_secret,
        report_interval              => $report_interval,
    }

    service {'neutron-metadata-agent':
        ensure    => 'running',
        require   => Package['neutron-metadata-agent'],
        subscribe => [
                      File['/etc/neutron/neutron.conf'],
                      File['/etc/neutron/metadata_agent.ini'],
            ],
    }
}