Merge "Make use of unbound optional"
This commit is contained in:
commit
21eceaf7a2
@ -16,6 +16,7 @@ class openstack_project::single_use_slave (
|
||||
$include_pypy = false,
|
||||
$automatic_upgrades = false,
|
||||
$all_mysql_privs = false,
|
||||
$enable_unbound = true,
|
||||
$ssh_key = $openstack_project::jenkins_ssh_key
|
||||
) inherits openstack_project {
|
||||
class { 'openstack_project::template':
|
||||
@ -23,6 +24,7 @@ class openstack_project::single_use_slave (
|
||||
automatic_upgrades => $automatic_upgrades,
|
||||
install_users => $install_users,
|
||||
install_resolv_conf => $install_resolv_conf,
|
||||
enable_unbound => $enable_unbound,
|
||||
iptables_rules4 =>
|
||||
[
|
||||
# Ports 69 and 6385 allow to allow ironic VM nodes to reach tftp and
|
||||
|
@ -13,6 +13,7 @@ class openstack_project::template (
|
||||
$automatic_upgrades = true,
|
||||
$certname = $::fqdn,
|
||||
$ca_server = undef,
|
||||
$enable_unbound = true,
|
||||
) {
|
||||
include ssh
|
||||
include snmpd
|
||||
@ -48,8 +49,10 @@ class openstack_project::template (
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
class { 'unbound':
|
||||
install_resolv_conf => $install_resolv_conf
|
||||
if ($enable_unbound) {
|
||||
class { 'unbound':
|
||||
install_resolv_conf => $install_resolv_conf
|
||||
}
|
||||
}
|
||||
|
||||
if $::osfamily == 'Debian' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user