Ask Your Question
0

Upgrade question to for Puppet

asked 2016-09-28 22:08:06 -0500

Anandk gravatar image

updated 2016-09-28 22:41:18 -0500

We are planning to upgrade current Puppet to a latest one. Instead of doing it on the running master, we are opting for a new fresh install and then migrate over.

Is this a good idea? Are there any suggested migration paths ?

Current config in our organization: Master on 3.1.1 Agent on 3.0 Planning for 4.0 EDIT: All are puppet free version Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-30 07:47:23 -0500

domcleal gravatar image

There are changes to how manifests are parsed in Puppet 4, you will probably have to make modifications. If you prefer to get it working and then migrate, by all means do. It's also possible to implement and fix many of these issues while remaining on 3.x, saving you from running two sets of infrastructure and reducing the step change.

If you wish to fix 4.x issues while on 3.x, you need to first upgrade to a current 3.x version as 3.1 will not raise warnings for these changes. Puppet 3.x to 4.x: Get upgrade-ready has a lot of good advice, but it boils down to the same - upgrade to the latest 3.x, understand the changes and fix them bit by bit.

Read the release notes for the versions you're upgrading through and to, e.g. the Puppet 3.8 deprecation list and implement the changes recommended. You can then switch to the future parser to get the same parser behaviour of Puppet 4 while running Puppet 3.8.

Lastly, if you intend to upgrade to 4.x then you should not install 4.0. Use the latest version available, which is 4.6 at the time of writing. Puppet follows semantic versioning so updates within a major version (e.g. 4.0 to 4.6) are backwards compatible. Use the latest available, it will still work.

edit flag offensive delete link more

Comments

good enough, thanks, If I have more questions can I send it to you?

Anandk gravatar imageAnandk ( 2016-10-03 08:36:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-09-28 22:08:06 -0500

Seen: 55 times

Last updated: Sep 30 '16