Update to 5.3.4

Release notes:
https://puppet.com/docs/puppet/5.3/release_notes.html#puppet-534

While here, warn users about running a rack/webrick puppet master [1].

With hat:       puppet
PR:             224623
Submitted by:   w.schwarzenfeld@utanet.at
This commit is contained in:
Romain Tartière 2018-02-08 10:34:11 +00:00
parent ef5fc9bb0e
commit c1c8fa003a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461210
3 changed files with 12 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= puppet
PORTVERSION= 5.3.3
PORTVERSION= 5.3.4
CATEGORIES= sysutils
MASTER_SITES= http://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 5

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1510552953
SHA256 (puppet-5.3.3.tar.gz) = 45360f64fe0375df617571d58e929515e2094daa1d0dc78e2b6718d7cbeaf18e
SIZE (puppet-5.3.3.tar.gz) = 2843386
TIMESTAMP = 1517925075
SHA256 (puppet-5.3.4.tar.gz) = 0a00a11bc49b89f8b0122b580b016ddc386b0d7027f0bb6f73bf117145fa3e23
SIZE (puppet-5.3.4.tar.gz) = 2889645

View file

@ -33,6 +33,14 @@ puppet_manifest="$($command config print manifest)"
start_precmd="puppetmaster_checkconfig"
restart_precmd="puppetmaster_checkconfig"
puppetmaster_checkconfig() {
cat << EOT
================================================================================
The Rack and WEBrick Puppet master servers are deprecated and will be removed
in a future release. Please use Puppet Server instead (sysutils/puppetserver5).
See http://links.puppet.com/deprecate-rack-webrick-servers for more information.
================================================================================
EOT
echo -n "Performing sanity check of ${name} configuration: "
if ! ${command} parser validate "${puppet_manifest}"
then