Set config path in hiera module

This patch sets the correct hiera config path in the hiera module.

Change-Id: I7fb764c95ddc03d84b52b3e964fcb1d1fa512f94
This commit is contained in:
Florian Fuchs 2018-12-07 14:21:49 +01:00
parent 6f5447ca44
commit 0d60729159

View File

@ -48,7 +48,7 @@ def main():
name = module.params.get('name')
cmd = ['/usr/bin/hiera', name]
cmd = ['/usr/bin/hiera', '-c', '/etc/puppet/hiera.yaml', name]
result = subprocess.check_output(cmd).rstrip()
if result == 'nil':