350b4938a3
The designate::dns class was really just configuring things according to a bind9 backend. As such, move it's resources to the bind9 backend manifest and deprecate this class. Additionnally, we stop managing configuration files resources inside /var/lib/designate. According to upstream documentation [1] and from discussing this with upstream developers, this is not an intended way of configuring designate. This also avoids having to manage permissions (and selinux) between designate and bind. [1]: http://docs.openstack.org/developer/designate/getting-started.html Change-Id: Ia62a3d1a72622f3eb1ceeabaf4cef36090a7a8d3
26 lines
669 B
Puppet
26 lines
669 B
Puppet
# == Class designate::dns
|
|
#
|
|
# Configure dns for designate service
|
|
# This class is deprecated, use designate::backend::bind9
|
|
#
|
|
# == Parameters
|
|
#
|
|
# DEPRECATED PARAMETERS
|
|
#
|
|
# [*designatepath*]
|
|
# (optional) Directory for maintaining designate's state
|
|
# Defaults to $designate::params::designatepath
|
|
#
|
|
# [*designatefile*]
|
|
# (optional) File for maintaining designate's state
|
|
# Defaults to $designate::params::designatefile
|
|
#
|
|
class designate::dns (
|
|
# DEPRECRATED PARAMETERS
|
|
$designatepath = undef,
|
|
$designatefile = undef,
|
|
) {
|
|
warning('The class designate::dns is depecrated. Use designate::backend::bind9 instead.')
|
|
include ::designate::backend::bind9
|
|
}
|