Puppet: Upgrading a Puppet server

0 votes
Hey I want to upgrade puppet server to a latest version. Do i have to upgrade all the puppet packages that i have installed one at a time, Or is there any way that I could do it as a whole?
Aug 2 in Puppet by Shayra
13 views

1 answer to this question.

0 votes
  • Upgrading the puppetserver package effectively upgrades Puppet Server

  • The puppetserver package, in turn, depends on the puppet-agent package, and your node’s package manager automatically upgrades puppet-agent if the new version of puppetserver requires it.

  • On your Puppet Server node, run the command appropriate to your package installer: 

Yum:

yum update puppetserver

Apt:

apt-get update apt-get install --only-upgrade puppetserver
  • If you pinned Puppet packages to a specific version, remove the pins.

  • For yum packages locked with the versionlock plugin, edit /etc/yum/pluginconf.d/versionlock.list to remove the lock.

  • On apt systems, remove .pref files from /etc/apt/preferences.d/ that pin packages, and use the apt-mark unhold command on each held package.

answered Aug 2 by Sirajul
• 16,640 points
Puppet : PuppetDB upgrade

Related Questions In Puppet

0 votes
1 answer

How do I start a puppet server?

Hey if you're using Ubuntu, you can ...READ MORE

answered Feb 21 in Puppet by Kavyashri
23 views
0 votes
1 answer
0 votes
1 answer

Puppet : Can i install jenkins on a puppet server using Git?

Installing puppet-jenkins is easy. To install via Git, ...READ MORE

answered Aug 9 in Puppet by Sirajul
• 16,640 points
15 views
0 votes
1 answer

Puppet+Docker: How do i configure a swarm if i am using windows server 2016.

There are a few considerations to be ...READ MORE

answered 1 day ago in Puppet by Sirajul
• 16,640 points
6 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
110 views
0 votes
1 answer
0 votes
1 answer

Puppet: puppet agent --configprint server doesn't return a valid DNS name.

Agents trust the master only if they ...READ MORE

answered Aug 2 in Puppet by Sirajul
• 16,640 points
14 views
0 votes
1 answer

Puppet server fails to start after a new installation

Try this: Remove the existing apt repository by ...READ MORE

answered Aug 6 in Puppet by Sirajul
• 16,640 points
20 views