Feature #19538
closedDetect Puppet server version automatically
Description
When running foreman-installer to upgrade puppet 3 -> 4 in place, puppet server fails to start because of missing "puppetlabs.trapperkeeper.services.status.status-service/status-service": "/status" in server.conf.
This line should be added by foreman-installer1; witch did not seem to work.
As a workaround, puppet server version should be specifid explicitly using foreman-installer:
puppetserver -v puppetserver version: 2.7.2 foreman-installer --puppet-server-puppetserver-version=2.7.2
Updated by Daniel Helgenberger almost 8 years ago
Updated by Dominic Cleal almost 8 years ago
- Project changed from Foreman to Installer
- Category deleted (
Puppet integration) - Status changed from New to Feedback
The installer isn't meant to detect the version, it should be set to the version being installed.
You can also reset it to the default value, which configures it for the latest known version. I've changed the upgrade instructions at http://projects.theforeman.org/projects/foreman/wiki/Upgrading_from_Puppet_3_to_4#section-7 to recommend this during an upgrade, as it's likely that you are installing the latest.
Updated by Daniel Helgenberger almost 8 years ago
Indeed, I concur we can assume one is installing the latest version of Puppet Server version in this scenario; resetting puppet server version seems like the best option.
The installer isn't meant to detect the version, it should be set to the version being installed.
However, if Puppetlabs decide to introduce another config change on future versions, how would this be handled with foreman installer? Shouldn't foreman-installer be able to detect the installed version?
Updated by Dominic Cleal almost 8 years ago
- Subject changed from Foreman-installer: not detecting correct puppet server version to Detect Puppet server version automatically
- Category set to Foreman modules
- Status changed from Feedback to New
Updated by Anonymous almost 8 years ago
- Status changed from New to Rejected
there's no possibilty to detect the puppetserver version, as we learned in the past.