Hiera was properly working in my environment. But puppet was looking at old
version even when I have the latest hiera gem installed. So I could'nt
use json backend. But puppet is not looking at my latest hiera gem. Not
sure when went wrong here.

I have installed hiera couple of months back. So the gem was installed


Later when I updated to new version of hiera then it installed (via gem
install) under


Puppet was always using the hiera under /opt/puppet/lib/gems/1.8/gems/, so
I was unable to use new features of hiera

I have uninstalled hiera-0.3.0 manually using gem

sudo gem uninstall --install-dir /opt/puppet/lib/gems/1.8/ hiera

Then Puppet failed to find hiera() function, so its always looking under
/opt/puppet/lib/gems/1.8/gems. Later I installed hiera using gem and
explicitly specified to install under /opt/puppet/lib/gems/1.8/gems

Now puppet cannot even find hiera()

err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not autoload hiera_include: no such file to load --
/opt/puppet/lib/site_ruby/1.8/puppet/parser/functions/hiera_include.rb at
/etc/puppetlabs/puppet/environments/development/manifests/site.pp:46 on

Looks like some thing wrong with my gem path or my puppet load path is not.
Any idea what went wrong here?

Using Ubuntu12.04LTS, PE 2.7, Hiera1.2

Any help greatly appreciated.




You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
grouppuppet-users @
postedFeb 22, '13 at 8:03p
activeFeb 25, '13 at 7:09p

2 users in discussion

Sai_Emc: 3 posts Llowder: 1 post



site design / logo © 2022 Grokbase