puppet-congress/manifests/params.pp
Emilien Macchi 83fcf0a23d 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.

Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: Ic0b3bfee864ad58c7469e9eff2265b700ada9a50
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-10 14:22:34 -08:00

29 lines
910 B
Puppet

# == Class: congress::params
#
# Parameters for puppet-congress
#
class congress::params {
include ::openstacklib::defaults
$drivers = ['congress.datasources.neutronv2_driver.NeutronV2Driver,congress.datasources.glancev2_driver.GlanceV2Driver',
'congress.datasources.nova_driver.NovaDriver',
'congress.datasources.keystone_driver.KeystoneDriver',
'congress.datasources.cinder_driver.CinderDriver']
$client_package_name = 'python-congressclient'
$group = 'congress'
case $::osfamily {
'RedHat': {
$package_name = 'openstack-congress'
$service_name = 'openstack-congress-server'
}
'Debian': {
$package_name = 'congress-server'
$service_name = 'congress-server'
}
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
}
}
}