So, this just started happening on all my nodes following upgrade to puppet-agent 1.9.3-1jessie on my puppet master:
root@nweb8:/# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, undefined method `cached_file_data' for #<Puppet::Pops::Lookup::Context:0x2c24d9> at /etc/puppetlabs/code/environments/production/manifests/site.pp:48:3 on node nweb8.ucar.edu","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: The 'stacktrace' property is deprecated and will be removed in a future version of Puppet. For security reasons, stacktraces are not returned with Puppet HTTP Error responses."]}
The relevant code in my site.pp is this:
node default {
hiera_include('bogusplaceholder', "roles::${role}")
}
According to the docs, the hiera_include function should still be supported.