From f2d197719188d32b832f2f16a4f1722cda391ed2 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Mon, 5 Nov 2018 19:48:37 +0100 Subject: [PATCH] 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 --- manifests/defaults.pp | 7 +++++++ .../notes/deprecate-puppet4-59a430de68834017.yaml | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 releasenotes/notes/deprecate-puppet4-59a430de68834017.yaml diff --git a/manifests/defaults.pp b/manifests/defaults.pp index 69f210bf..f2539377 100644 --- a/manifests/defaults.pp +++ b/manifests/defaults.pp @@ -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') + } } diff --git a/releasenotes/notes/deprecate-puppet4-59a430de68834017.yaml b/releasenotes/notes/deprecate-puppet4-59a430de68834017.yaml new file mode 100644 index 00000000..fb5d6982 --- /dev/null +++ b/releasenotes/notes/deprecate-puppet4-59a430de68834017.yaml @@ -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.