Fix python binary lookup regression

Backport of I65f46056f8a908c60c99d1cee3738344a0bce6b7 is broken
as it's missing Ida7a7cbd064ebdb923f38c9102eb4b0771f9b273 in stable
branches.

Change-Id: Ib664fa362139d08226f63322d9be2ebb6c0bec72
Closes-Bug: #1820947
This commit is contained in:
Rabi Mishra 2019-03-20 09:44:18 +05:30
parent 73a458596b
commit 4bd3d245cf
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ resources:
print json.dumps(cnt.get('${node_id}', {})) print json.dumps(cnt.get('${node_id}', {}))
" > /etc/puppet/hieradata/${node_id}.json " > /etc/puppet/hieradata/${node_id}.json
# handle upper case node id LP#1816652 # handle upper case node id LP#1816652
echo $node_lookup | $(get_python) -c " echo $node_lookup | python -c "
import json import json
import sys import sys
input = sys.stdin.readline() or '{}' input = sys.stdin.readline() or '{}'