Browse Source

Merge "Ensure LANG env is properly set when puppet runs." into stable/queens

changes/77/776177/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
b003b4dd6d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docker/docker-puppet.py

+ 2
- 0
docker/docker-puppet.py View File

@ -230,6 +230,8 @@ with open(sh_script, 'w') as script_file:
# $::deployment_type in puppet-tripleo
export FACTER_deployment_type=containers
export FACTER_uuid=$(cat /sys/class/dmi/id/product_uuid | tr '[:upper:]' '[:lower:]')
: ${LANG=en_US.UTF-8}
export LANG
FACTER_hostname=$HOSTNAME /usr/bin/puppet apply --summarize \
--detailed-exitcodes --color=false --logdest syslog --logdest console --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules $TAGS /etc/config.pp
rc=$?


Loading…
Cancel
Save