# Parameters for puppet-panko # class panko::params { include ::openstacklib::defaults if ($::os_package_type == 'debian') or ($::os['name'] == 'Fedora') or ($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) { $pyvers = '3' } else { $pyvers = '' } $client_package_name = "python${pyvers}-pankoclient" $group = 'panko' $expirer_command = 'panko-expirer' case $::osfamily { 'RedHat': { $common_package_name = 'openstack-panko-common' $api_package_name = 'openstack-panko-api' $api_service_name = 'openstack-panko-api' $panko_wsgi_script_path = '/var/www/cgi-bin/panko' $panko_wsgi_script_source = '/usr/bin/panko-api' } 'Debian': { $common_package_name = 'panko-common' $api_package_name = 'panko-api' $api_service_name = 'panko-api' $panko_wsgi_script_path = '/usr/lib/cgi-bin/panko' $panko_wsgi_script_source = '/usr/bin/panko-api' } default: { fail("Unsupported osfamily: ${::osfamily} operatingsystem") } } # Case $::osfamily }