root@deployment-cache-upload04:~# puppet agent -tv Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item cache::cluster in any Hiera data file and no default supplied at /etc/puppet/modules/role/manifests/cache/base.pp:17 on node deployment-cache-upload04.deployment-prep.eqiad.wmflabs Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run root@deployment-cache-upload04:~#
In production that is defined under the hieradata/role/* hierarchy:
hieradata/role/common/cache/maps.yaml:2:cache::cluster: maps hieradata/role/common/cache/misc.yaml:2:cache::cluster: misc hieradata/role/common/cache/text.yaml:2:cache::cluster: text hieradata/role/common/cache/upload.yaml:2:cache::cluster: upload modules/role/manifests/cache/base.pp:17: $cache_cluster = hiera('cache::cluster')