--- :backends: - yaml :hierarchy: - "nodes/%{clientcert}" - defaults :yaml: # datadir is empty here, so hiera uses its defaults: # - /var/lib/hiera on *nix # - %CommonAppData%\PuppetLabs\hiera\var on Windows # When specifying a datadir, make sure the directory exists. :datadir: "/etc/puppetlabs/puppet/environments/%{environment}/hieradata"