Merge "Make per_node.yaml py3 safe" into stable/train

This commit is contained in:
Zuul 2020-05-16 05:14:05 +00:00 committed by Gerrit Code Review
commit dadab542aa
1 changed files with 2 additions and 2 deletions

View File

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