Ask Your Question
2

How do I prevent Puppet from automatically updating to version 3?

asked 2012-10-26 10:48:31 -0500

Dawn gravatar image

updated 2013-01-03 12:16:50 -0500

llowder gravatar image

I was working on Puppet, but it was behaving in an unexpected manner. I noticed it was running Puppet version 3, but I had not run any updates. Luckily, this only happened in my test environment, but how do I prevent Puppet from automatically upgrading itself in the future?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
10

answered 2012-10-26 15:52:45 -0500

haus gravatar image

Both apt and yum will by default download the latest version of software available, which if you have our repositories enabled, is Puppet 3.0.1. Both tools also have ways of restricting which versions will be installed.

Apt has a feature called pinning which can be used to restrict the Puppet version to the latest in the 2.7 series or to a specific 2.7 version.

Yum has a plugin called versionlock which can be used to restrict Puppet to a specific version, which could be in the 2.7 series if desired.

The upgrading section of our ... (more)

edit flag offensive delete link more
1

answered 2013-01-03 11:21:08 -0500

chsnell gravatar image

If you're managing puppet with puppet, you should be able to use an ensure => $version line in your puppet package class to keep the version to be what you want, shouldn't you?

edit flag offensive delete link more

Comments

Yes. I'd recommend doing that in general for any important packages, to make sure you have a consistent platform.

jantman gravatar imagejantman ( 2013-01-07 20:04:27 -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: 2012-10-26 10:48:31 -0500

Seen: 474 times

Last updated: Jan 03 '13