Ask Your Question
0

DataBinding 'hiera' while looking up 'lookup_options': undefined method `empty?'

asked 2015-12-08 13:52:09 -0500

lclegg gravatar image

I'm running the latest/greatest OpenPuppet on Oracle Linux V6.7.

This is a new error which I have not seen previously. I'm at a loss as to why it has suddenly started appearing.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Error from DataBinding 'hiera' while looking up 'lookup_options': undefined method empty?' for nil:NilClass in undefined methodempty?' for nil:NilClass at /etc/puppetlabs/code/environments/lab/manifests/site.pp:33:1 on node gfmpuptest9.hsi.hughessupply.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

The error follows whichever class that uses hiera is listed first in my site.pp. I can move the classes around or comment them out....as long as there is one hiera-using class enabled in my site.pp I get this error.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-08 15:13:30 -0500

lclegg gravatar image

After much googling around I finally found a lead....apparently this is an example of a non-informative message. The actual issue was buried deep inside a yaml file within my hierarchy. Removing the bad yaml got rid of this message and allowed everything to function as normal.

edit flag offensive delete link more

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: 2015-12-08 13:52:09 -0500

Seen: 1,751 times

Last updated: Dec 08 '15