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:
parent
6f5447ca44
commit
0d60729159
@ -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
Block a user