How to upgrade hiera on PE3.8 without master remediating it back?

asked 2015-11-26 05:13:14 -0500

EdSpaeny gravatar image

Hi,

We have PE3.8 with hiera v1.3.4. However, I want to upgrade hiera to v3.0.5 (using gem install hiera). When we do this, the Puppet Master automatically reverts that back to 1.3.4 after a while.

(Hiera v1.3.4 is a symlink in /usr/local/bin. After upgrade it is the v3.0.5 executable.)

What is the correct way to upgrade hiera on the Puppet Master?

Thanks, Ed

edit retag flag offensive close merge delete

Comments

PS I can see a package resource for hiera 1.3.4 but not sure if I can just change that to another version just like that?

EdSpaeny gravatar imageEdSpaeny ( 2015-11-30 05:57:35 -0500 )edit

Any Puppet People out there that can shine a light on this? I can see a Gemfile in /opt/puppet/share/puppet/modules/puppet_enterprise (no hiera mentioned in that file) and a Gemfile.lock (in same dir) reporting that hiera 1.3.4 is installed. But clearly I can't just run "gem install hiera" to get

EdSpaeny gravatar imageEdSpaeny ( 2015-12-04 02:34:56 -0500 )edit