Symlink /etc/hiera.yaml -> /etc/puppet/hiera.yaml

The puppet command uses /etc/puppet/hiera.yaml as it's hiera
configuration file, but the hiera command when run standalone uses
/etc/hiera.yaml as its configuration file. Therefore, it's useful to
create this symlink so that when running hiera standalone to verify or
debug configurations, you don't have to pass a config file argument.

Change-Id: I0f8dbc3554b014a33ad398bfcf040aac0b288d1d
This commit is contained in:
James Slagle 2015-02-06 05:42:39 -05:00
parent c7f4cb658f
commit 790b941a89

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
set -o pipefail
ln -f -s /etc/puppet/hiera.yaml /etc/hiera.yaml