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:
parent
c7f4cb658f
commit
790b941a89
6
elements/hiera/install.d/10-hiera-yaml-symlink
Executable file
6
elements/hiera/install.d/10-hiera-yaml-symlink
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
ln -f -s /etc/puppet/hiera.yaml /etc/hiera.yaml
|
Loading…
x
Reference in New Issue
Block a user