Install unbound on infracloud servers

Here we are creating openstack_project::infracloud::base which will
install unbound. We to this so we can cache DNS requests to the local
server. This is also how our control plane for the OpenStack project
works.

Change-Id: I62feccc5c325369a774b457e80301b46311507e7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-09-01 08:47:28 -04:00
parent 0dea22d48a
commit cca91dbc45
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# == Class: openstack_project::infracloud::base
#
# A template host with no running services
#
class openstack_project::infracloud::base (
) {
class { '::unbound':
install_resolv_conf => true,
}
}

View File

@ -7,6 +7,8 @@ class openstack_project::infracloud::compute (
$br_name,
$controller_public_address,
) {
include ::openstack_project::infracloud::base
class { '::infracloud::compute':
nova_rabbit_password => $nova_rabbit_password,
neutron_rabbit_password => $neutron_rabbit_password,

View File

@ -24,6 +24,8 @@ class openstack_project::infracloud::controller (
$neutron_subnet_gateway,
$neutron_subnet_allocation_pools,
) {
include ::openstack_project::infracloud::base
class { '::infracloud::controller':
keystone_rabbit_password => $keystone_rabbit_password,
neutron_rabbit_password => $neutron_rabbit_password,