Merge "Force json output format for hiera in derive pci whitelist" into stable/victoria
This commit is contained in:
commit
870ed10ef2
|
@ -142,7 +142,7 @@ def get_pci_passthrough_whitelist(user_config, pf, pci_addresses,
|
||||||
def user_passthrough_config():
|
def user_passthrough_config():
|
||||||
try:
|
try:
|
||||||
out, err = processutils.execute(
|
out, err = processutils.execute(
|
||||||
'hiera', '-c', '/etc/puppet/hiera.yaml',
|
'hiera', '-f', 'json', '-c', '/etc/puppet/hiera.yaml',
|
||||||
_PASSTHROUGH_WHITELIST_KEY
|
_PASSTHROUGH_WHITELIST_KEY
|
||||||
)
|
)
|
||||||
if not err:
|
if not err:
|
||||||
|
|
Loading…
Reference in New Issue