Remove Puppet 4 support

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
This commit is contained in:
Tobias Urdin 2019-05-01 18:03:56 +02:00
parent e30f0f5f3e
commit 6399a0e3f6
2 changed files with 5 additions and 7 deletions

View File

@ -6,13 +6,6 @@
#
class openstacklib::defaults {
# TODO(tobias-urdin): Remove this in the T release when we remove
# all Puppet 4 related code.
if versioncmp($::puppetversion, '5.0.0') < 0 {
warning('OpenStack modules support for Puppet 4 is deprecated \
and will be officially unsupported in the T release')
}
if ($::os['family'] == 'Debian') {
$pyvers = '3'
$pyver3 = '3'

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Puppet OpenStack does not officially support Puppet 4 anymore. Deployments
should use Puppet 5 or Puppet 6.