Puppet Class: openstack::neutron::dhcp_agent::caracal

Defined in:
modules/openstack/manifests/neutron/dhcp_agent/caracal.pp

Overview

Parameters:

  • dhcp_domain (Any)
  • report_interval (Any)
  • interface_driver (String[1])


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

class openstack::neutron::dhcp_agent::caracal(
    $dhcp_domain,
    $report_interval,
    String[1] $interface_driver,
) {
    class { "openstack::neutron::dhcp_agent::caracal::${::lsbdistcodename}": }

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

    file { '/etc/neutron/dnsmasq-neutron.conf':
        owner   => 'neutron',
        group   => 'neutron',
        mode    => '0640',
        content => template('openstack/caracal/neutron/dnsmasq-neutron.conf.erb'),
        require => Package['neutron-common'];
    }
}