Hiera gem load path

29 views
Skip to first unread message

Erinn Looney-Triggs

unread,
Oct 3, 2014, 6:58:41 AM10/3/14
to puppet...@googlegroups.com
I am having a tough time finding an answer to this, probably due to my lack of
Google skills.

I have been working to get hiera-eyaml plugin working.

Hiera from the command line is able to look up the values in the eyaml files.
Implying that it is loading up the correct gems etc. The puppetmaster however
is not able to. This is the default puppetmaster (I believe it is webbrick?)

I believe this is probably because the gems were installed into /usr/local/
and the puppetmaster is not picking those up in its path.

I cannot, however, figure out how to adjust this for the puppetmaster, any
suggestions would be appreciated.

-Erinn


signature.asc

Cristian Falcas

unread,
Oct 5, 2014, 7:53:56 AM10/5/14
to puppet...@googlegroups.com
Most probably because of the path to hiera.yaml file.

/etc/hiera.yaml should be a symlink to /etc/puppet/hiera.yaml




Clayton O'Neill

unread,
Oct 5, 2014, 9:25:02 AM10/5/14
to puppet...@googlegroups.com
Are you using Puppet Enterprise?  If so, it ships with its own version of Ruby, and you need to make sure the hiera-eyaml gem is installed in that ruby installation also.
Reply all
Reply to author
Forward
0 new messages