
We can add suport for Debian system due to have the zaqar package in Debian system. The Debian system does not support the use of services to run a second instance, because there is no zaqar-server@.service in zaqar package, so do not test it. I will Re-test it after the zaqar package solve the problem. Change-Id: I026b7d8f2b5994114d5a319200ed7c7d099b4fb5
26 lines
573 B
Puppet
26 lines
573 B
Puppet
# == Class: zaqar::params
|
|
#
|
|
# Parameters for puppet-zaqar
|
|
#
|
|
class zaqar::params {
|
|
include ::openstacklib::defaults
|
|
|
|
$client_package = 'python-zaqarclient'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$package_name = 'openstack-zaqar'
|
|
$service_name = 'openstack-zaqar'
|
|
}
|
|
'Debian': {
|
|
$package_name = 'zaqar-server'
|
|
$service_name = 'zaqar-server'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
|
|
${::operatingsystem}, module ${module_name} only support osfamily \
|
|
RedHat and Debian")
|
|
}
|
|
}
|
|
}
|