19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'manifests/network/dhcp.pp', line 19
class cloud::network::dhcp(
$veth_mtu = $os_params::veth_mtu,
$debug = $os_params::debug
) {
include 'cloud::network'
class { 'neutron::agents::dhcp':
debug => $debug
}
neutron_dhcp_agent_config {
'DEFAULT/dnsmasq_config_file': value => '/etc/neutron/dnsmasq-neutron.conf';
'DEFAULT/enable_isolated_metadata': value => true;
}
file { '/etc/neutron/dnsmasq-neutron.conf':
content => template('cloud/network/dnsmasq-neutron.conf.erb'),
owner => 'root',
mode => '0755',
group => 'root',
notify => Service['neutron-dhcp-agent']
}
}
|