Merge "designate: Omit rndc.conf"
This commit is contained in:
commit
bbc786a6ef
@ -41,17 +41,4 @@ class openstack_integration::bind {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
$dnsdir = $::dns::params::dnsdir
|
|
||||||
|
|
||||||
# ::dns creates the rndc key but not a rndc.conf.
|
|
||||||
# Contribute this in upstream ::dns ?
|
|
||||||
file { 'rndc.conf':
|
|
||||||
ensure => present,
|
|
||||||
path => "${dnsdir}/rndc.conf",
|
|
||||||
owner => $::dns::params::user,
|
|
||||||
group => $::dns::params::group,
|
|
||||||
content => template("${module_name}/rndc.conf.erb"),
|
|
||||||
require => Package[$dns::params::dns_server_package]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -125,12 +125,7 @@ class openstack_integration::designate (
|
|||||||
bind9_hosts => [$::openstack_integration::config::host],
|
bind9_hosts => [$::openstack_integration::config::host],
|
||||||
dns_port => 5322,
|
dns_port => 5322,
|
||||||
mdns_hosts => [$::openstack_integration::config::host],
|
mdns_hosts => [$::openstack_integration::config::host],
|
||||||
rndc_config_file => "${::dns::params::dnsdir}/rndc.conf",
|
rndc_key_file => $::dns::rndckeypath,
|
||||||
rndc_key_file => $::dns::params::rndckeypath,
|
|
||||||
# Configure bind using openstack_integration::bind
|
|
||||||
configure_bind => false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
File['rndc.conf'] -> Anchor['designate::service::begin']
|
|
||||||
Class['dns::service'] -> Anchor['designate::service::begin']
|
Class['dns::service'] -> Anchor['designate::service::begin']
|
||||||
}
|
}
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
include "<%= @dnsdir %>/rndc.key";
|
|
||||||
options {
|
|
||||||
default-key "rndc-key";
|
|
||||||
default-server <%= @bind_host %>;
|
|
||||||
default-port 953;
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user