
From Train release we no longer officially support Puppet 4 as we have notified about earlier. Deployments should use Puppet 5 or Puppet 6. Change-Id: I903f238d7967cde2e7357dd21905f267dc289c73
21 lines
479 B
Puppet
21 lines
479 B
Puppet
# == Class: openstacklib::defaults
|
|
#
|
|
# Default configuration for all openstack-puppet module.
|
|
#
|
|
# This file is loaded in the params.pp of each class.
|
|
#
|
|
class openstacklib::defaults {
|
|
|
|
if ($::os['family'] == 'Debian') {
|
|
$pyvers = '3'
|
|
$pyver3 = '3'
|
|
} elsif ($::os['name'] == 'Fedora') or
|
|
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
|
$pyvers = '3'
|
|
$pyver3 = '3.6'
|
|
} else {
|
|
$pyvers = ''
|
|
$pyver3 = '2.7'
|
|
}
|
|
}
|