Puppet Class: openstack::neutron::dhcp_agent

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

Overview

Parameters:

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


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/dhcp_agent.pp', line 1

class openstack::neutron::dhcp_agent(
    $version,
    $dhcp_domain,
    $report_interval,
    String[1] $interface_driver,
) {

    class { "openstack::neutron::dhcp_agent::${version}":
        dhcp_domain      => $dhcp_domain,
        report_interval  => $report_interval,
        interface_driver => $interface_driver,
    }

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