Deprecate Puppet 4

Adds a message that Puppet 4 is deprecated as of
this release, is minimally tested and will be
officially unsupported in the next release.

Change-Id: I5fbd87fc179ee80a749bad02764f129420330f5c
This commit is contained in:
Tobias Urdin 2018-11-05 19:48:37 +01:00
parent 20ac1f925a
commit f2d1977191
2 changed files with 15 additions and 0 deletions

View File

@ -5,4 +5,11 @@
# This file is loaded in the params.pp of each class.
#
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')
}
}

View File

@ -0,0 +1,8 @@
---
prelude: >
Puppet OpenStack has in this release deprecated Puppet 4 support.
This older version of Puppet is EOL since October 2018 and will only
get security fixes. We will continue to support this Puppet version
for the duration of this release with minimal testing. In the next
release Puppet 4 support will be removed completely and you should
move to using Puppet 5 or the newly released Puppet 6.