Puppet Class: openstack::neutron::dhcp_agent::xena

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

Overview

Parameters:

  • dhcp_domain (Any)
  • report_interval (Any)


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

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

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

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