I detected this puppet issue in labpuppetmaster1001.wikimedia.org today:
aborrero@labpuppetmaster1001:~$ sudo puppet agent -tv Info: Using configured 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: Function lookup() did not find a value for the name 'profile::puppetmaster::frontend::canary_hosts' at /etc/puppet/modules/profile/manifests/puppetmaster/frontend.pp:3 on node labpuppetmaster1001.wikimedia.org Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
It seems like missing hiera config.