puppet-designate/manifests/params.pp
Andrew Spiers 0d178f521b Add manifest for designate-zone-manager
Change-Id: I7233d129c6340100ebe310d05b9d934b12c51ed1
2016-12-07 09:57:47 +11:00

49 lines
1.9 KiB
Puppet

# == Class: designate::params
#
# Parameters for puppet-designate
#
class designate::params {
include ::openstacklib::defaults
$state_path = '/var/lib/designate'
$log_dir = '/var/log/designate'
$client_package_name = 'python-designateclient'
$agent_service_name = 'designate-agent'
$api_service_name = 'designate-api'
$central_service_name = 'designate-central'
$sink_service_name = 'designate-sink'
$mdns_service_name = 'designate-mdns'
$pool_manager_service_name = 'designate-pool-manager'
$zone_manager_service_name = 'designate-zone-manager'
case $::osfamily {
'RedHat': {
# package name
$common_package_name = 'openstack-designate-common'
$api_package_name = 'openstack-designate-api'
$central_package_name = 'openstack-designate-central'
$agent_package_name = 'openstack-designate-agent'
$sink_package_name = 'openstack-designate-sink'
$pymysql_package_name = undef
$mdns_package_name = 'openstack-designate-mdns'
$pool_manager_package_name = 'openstack-designate-pool-manager'
$zone_manager_package_name = 'openstack-designate-zone-manager'
}
'Debian': {
# package name
$common_package_name = 'designate-common'
$api_package_name = 'designate-api'
$central_package_name = 'designate-central'
$agent_package_name = 'designate-agent'
$sink_package_name = 'designate-sink'
$pymysql_package_name = 'python-pymysql'
$pool_manager_package_name = 'designate-pool-manager'
$mdns_package_name = 'designate-mdns'
$zone_manager_package_name = 'designate-zone-manager'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
}
}
}