Puppet Class: openstack::neutron::dhcp_agent::queens

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

Overview

Parameters:

  • 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
22
# File 'modules/openstack/manifests/neutron/dhcp_agent/queens.pp', line 1

class openstack::neutron::dhcp_agent::queens(
    $dhcp_domain,
    $report_interval,
) {
    class { "openstack::neutron::dhcp_agent::queens::${::lsbdistcodename}": }

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

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