Puppet Class: openstack::neutron::l3_agent::rocky

Defined in:
modules/openstack/manifests/neutron/l3_agent/rocky.pp

Overview

Parameters:

  • dmz_cidr_array (Any)
  • network_public_ip (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
23
# File 'modules/openstack/manifests/neutron/l3_agent/rocky.pp', line 1

class openstack::neutron::l3_agent::rocky(
    $dmz_cidr_array,
    $network_public_ip,
    $report_interval,
) {
    class { "openstack::neutron::l3_agent::rocky::${::lsbdistcodename}": }

    $dmz_cidr = join($dmz_cidr_array, ',')
    file { '/etc/neutron/l3_agent.ini':
            owner   => 'neutron',
            group   => 'neutron',
            mode    => '0640',
            content => template('openstack/rocky/neutron/l3_agent.ini.erb'),
            require => Package['neutron-l3-agent'];
    }

    # neutron-l3-agent Depends radvd on rocky, but we don't use and don't
    # configure it. To prevent icinga from reporting a unit in bad shape, just
    # disable it.
    systemd::mask { 'radvd.service':
        before => Package['neutron-l3-agent'],
    }
}