Puppet Class: openstack::neutron::l3_agent::xena

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

Overview

Parameters:

  • report_interval (Any)


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/l3_agent/xena.pp', line 3

class openstack::neutron::l3_agent::xena(
    $report_interval,
) {
    class { "openstack::neutron::l3_agent::xena::${::lsbdistcodename}": }

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

    # neutron-l3-agent Depends radvd on stein, 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'],
    }
}