Default puppet-syntax job to en_US.utf8 locale

As a result of moving to ubuntu-trusty, we need to define a default
LANG.

A future patch should remove this code and migrate to the JJB template
the openstack puppet team use.

Change-Id: Idfe3e7de6ea48752c17accd95661fd803bb1b0a4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-03-09 13:12:24 -05:00
parent a40ee6c1e4
commit 5a93399acf

View File

@ -342,6 +342,7 @@
name: puppet-syntax
builders:
- shell: |
export LANG=en_US.utf8
find . -iname *.pp | xargs puppet parser validate --modulepath=`pwd`/modules
for f in `find . -iname *.erb` ; do
erb -x -T '-' $f | ruby -c