puppet-trove/manifests/params.pp
Emilien Macchi 6941810418 Add group to policy management
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.

Change-Id: I3c680647c310ad87bb5fb790675a16da784e6e27
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-11 15:53:16 +00:00

40 lines
1.3 KiB
Puppet

# == Class: trove::params
#
# Parameters for puppet-trove
#
class trove::params {
include ::openstacklib::defaults
$client_package_name = 'python-troveclient'
$group = 'trove'
case $::osfamily {
'RedHat': {
$common_package_name = 'openstack-trove'
$conductor_package_name = 'openstack-trove-conductor'
$conductor_service_name = 'openstack-trove-conductor'
$api_package_name = 'openstack-trove-api'
$api_service_name = 'openstack-trove-api'
$guestagent_package_name = 'openstack-trove-guestagent'
$guestagent_service_name = 'openstack-trove-guestagent'
$taskmanager_package_name = 'openstack-trove-taskmanager'
$taskmanager_service_name = 'openstack-trove-taskmanager'
}
'Debian': {
$common_package_name = 'trove-common'
$conductor_package_name = 'trove-conductor'
$conductor_service_name = 'trove-conductor'
$api_package_name = 'trove-api'
$api_service_name = 'trove-api'
$guestagent_package_name = 'trove-guestagent'
$guestagent_service_name = 'trove-guestagent'
$taskmanager_package_name = 'trove-taskmanager'
$taskmanager_service_name = 'trove-taskmanager'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
}
} # Case $::osfamily
}