aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/neutron/dhcp.pp
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-05-10 21:49:00 -0400
committerDan Prince <dprince@redhat.com>2016-05-10 21:49:00 -0400
commit4966c016bbf0b4c5015268a5f14ae173f4627ada (patch)
tree6176204aad973f0a772c33552d0e4751ba801f54 /manifests/profile/base/neutron/dhcp.pp
parent42865aed6f3375edbac31a52bb9e73cabfbb059a (diff)
Add the neutron-dnsmasq.conf to neutron profile
This was in the initial neutron profile patches but got removed mid-way (see patch 16 comments here: Ida781badbcd63bbcb481a2170638aefe262b717b). The file is in fact required in order to get the ping test properly passing with TripleO. Change-Id: Ibbfd79421f871e41f870745a593cca65e8c0e58a
Diffstat (limited to 'manifests/profile/base/neutron/dhcp.pp')
-rw-r--r--manifests/profile/base/neutron/dhcp.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/profile/base/neutron/dhcp.pp b/manifests/profile/base/neutron/dhcp.pp
index 1d7cc10..4d5bb28 100644
--- a/manifests/profile/base/neutron/dhcp.pp
+++ b/manifests/profile/base/neutron/dhcp.pp
@@ -48,6 +48,14 @@ class tripleo::profile::base::neutron::dhcp (
enabled => $enabled
}
+ file { '/etc/neutron/dnsmasq-neutron.conf':
+ content => $neutron_dnsmasq_options,
+ owner => 'neutron',
+ group => 'neutron',
+ notify => Service['neutron-dhcp-service'],
+ require => Package['neutron'],
+ }
+
Service<| title == 'neutron-server' |> -> Service <| title == 'neutron-dhcp' |>
}
}