Set config path in hiera module

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

Change-Id: I7fb764c95ddc03d84b52b3e964fcb1d1fa512f94
(cherry picked from commit 0d60729159)
This commit is contained in:
Florian Fuchs 2018-12-07 14:21:49 +01:00 committed by Gael Chamoulaud
parent 68b0a6b378
commit 1fa47be13a
1 changed files with 1 additions and 1 deletions

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':