--- :backend: - yaml :hierarchy: - defaults - %{certname} - %{environment} - global :yaml: # datadir is empty here, so hiera uses its defaults, /var/lib/hiera # When specifying a datadir, make sure the path of the datadir exists :datadir: