Can I upgrade my puppet version directly from 3.4 to 5.5.1 for my puppet open source (masterless)

asked 2018-05-22 10:17:06 -0600

Romoh gravatar image

I am currently planning to perform an upgrade of my puppet agent from version 3.4.2 to 5.5.1 for my windows servers. I use master less puppet in the environment. There are few articles indicating that i should upgrade from 3.4 to 3.8 and then 5.x. Do I need to follow the same step in masterless or I can proceed with a direct upgrade of my puppet. Is there anything else that I need to look into apart from changing the manifest to work with the latest release?

edit retag flag offensive close merge delete


Since you are doing masterless, you can migrate a part at a time, but I highly recommend for some gotcha's to look out for - language syntax, changed behavior (empty string, etc)

DarylW gravatar imageDarylW ( 2018-05-23 06:54:20 -0600 )edit

I recently accomplished this feat, but I must admit that it is not a one size fits all situation. The best thing I did was install puppet-lint and “lint” my code. The second step involved me taking a normal “finished” product and installing puppet 5.5.1. I'd run puppet until I fixed the errors.

theCrazyRussian gravatar imagetheCrazyRussian ( 2018-05-24 23:09:55 -0600 )edit