Files
puppet-openstacklib/manifests/defaults.pp
Tobias Urdin f2d1977191 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
2018-11-08 10:13:12 +01:00

16 lines
460 B
ObjectPascal

# == Class: openstacklib::defaults
#
# Default configuration for all openstack-puppet module.
#
# 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')
}
}