
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I3109b052d5eb21f6f26174390a9d5bf2756c6ec2 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
41 lines
1.2 KiB
Puppet
41 lines
1.2 KiB
Puppet
# ==Class: magnum::params
|
|
#
|
|
# Parameters for puppet-magnum
|
|
#
|
|
class magnum::params {
|
|
include openstacklib::defaults
|
|
|
|
$user = 'magnum'
|
|
$group = 'magnum'
|
|
|
|
case $facts['os']['family'] {
|
|
'RedHat': {
|
|
# package names
|
|
$common_package = 'openstack-magnum-common'
|
|
$api_package = 'openstack-magnum-api'
|
|
$conductor_package = 'openstack-magnum-conductor'
|
|
# service names
|
|
$api_service = 'openstack-magnum-api'
|
|
$conductor_service = 'openstack-magnum-conductor'
|
|
$client_package = 'python3-magnumclient'
|
|
$wsgi_script_path = '/var/www/cgi-bin/magnum'
|
|
$wsgi_script_source = '/usr/bin/magnum-api-wsgi'
|
|
}
|
|
'Debian': {
|
|
# package names
|
|
$common_package = 'magnum-common'
|
|
$api_package = 'magnum-api'
|
|
$conductor_package = 'magnum-conductor'
|
|
# service names
|
|
$api_service = 'magnum-api'
|
|
$conductor_service = 'magnum-conductor'
|
|
$client_package = 'python3-magnumclient'
|
|
$wsgi_script_path = '/usr/lib/cgi-bin/magnum'
|
|
$wsgi_script_source = '/usr/bin/magnum-api-wsgi'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${facts['os']['family']}")
|
|
}
|
|
} # Case $facts['os']['family']
|
|
}
|