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)


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

class openstack::neutron::dhcp_agent(
    $version,
    $dhcp_domain,
    $report_interval,
    ) {

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

    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'],
            ],
    }
}