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:
parent
68b0a6b378
commit
1fa47be13a
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue