We have a fairly mature puppet instance along with foreman for
classification. For some reason, yesterday, everything started failing
with this error:
Info: Using environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Error while evaluating a Function Call,
undefined method `safe_load' for Puppet::Util::Yaml:Module (file:
/etc/puppetlabs/code/environments/production/manifests/site.pp, line: 3,
column: 1) on node hostname.company.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Line 3 of the site.pp is just this:
hiera_include('classes', '')
Which has not changed in many years. There is either a bug that appeared
from nowhere, or a syntax error buried somewhere. I have been going
through our repository and rolling back every yaml change, but so far
nothing has worked. If anyone has a clever way to get puppet to give me
some more information so I can find this, I would be eternally grateful.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/cb051ca4-92a5-43c7-a7d0-9e8942b0af73n%40googlegroups.com.