puppetlabs/puppet-acceptance — pull request #225 by kelseyhightower (2012-05-18 16:51:33+00:00)
Title: (maint) Fix Hiera setup step

Without this patch the `/etc/puppet/hiera.yaml` configuration file has the
wrong permissions which causes the following error:

Error 400 on SERVER: Permission denied - /etc/puppet/hiera.yaml at
/tmp/databinding.Z16mln/site.pp:2

This patch also adds the missing configuration option for the YAML
backend's datadir.

# hiera.yaml
:yaml:
:datadir: #{dest_path}/hieradata

The Hiera setup step now creates the YAML backend datadir:

/etc/puppet/hieradata