Project

General

Profile

Actions

Bug #24752

closed

need to reset puppet::server_puppetserver_metrics on Puppet4 → Puppet5 upgrade

Added by Evgeni Golov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Installer
Target version:

Description

When upgrading to PuppetServer 5 (5.3.5) from 4.x, we do not reset the puppet::server_puppetserver_metrics param.

The installer sets it to versioncmp($::puppetversion, '5.0.0') >= 0 during the original install, and that remains in the answer file. On Puppet4 installs this is false
However, Puppet5 needs metrics enabled, and does not start otherwise: https://ci.centos.org/job/foreman-katello-upgrade-nightly-test/31/

We need to reset the param, so that versioncmp is re-evaluated.

Actions

Also available in: Atom PDF