Fixed by restarting puppetserver per
https://tickets.puppetlabs.com/browse/PUP-7337

It looks like the debian packages are missing a restart trigger:
https://tickets.puppetlabs.com/browse/PA-681

On Mon, Mar 13, 2017 at 11:10 AM, Daniel Urist <[email protected]> wrote:

> I've tried replacing the call to hiera_include() with a call to include()
> like this (per https://docs.puppet.com/puppet/latest/function.html#
> hierainclude) , but that results in the same error:
>
> include( lookup("roles::${role}", {'merge' => 'unique' }) )
>
>
> On Mon, Mar 13, 2017 at 10:53 AM, Daniel Urist <[email protected]> wrote:
>
>> 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.
>>
>>
>

-- 
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/CAEo6%3DKYVwvp_uBP5oLzGB0WeGMvEG%2BdnZ8ZwN2cfxRdGpdGkDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to