puppet-openstack-integration/playbooks/run-syntax-tests.yaml
Tobias Urdin a5f430f2a3 Remove FUTURE_PARSER
We do not support or test Puppet 3 anymore so this
is not required.

Change-Id: I17b219d38192cb0c2c5060a70ada0a0e6f525300
2018-09-19 10:59:15 +02:00

13 lines
436 B
YAML

- hosts: all
tasks:
- shell:
cmd: |
export PUPPET_GEM_VERSION='~> {{ puppet }}'
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
gem install bundler --no-rdoc --no-ri --verbose
$GEM_HOME/bin/bundle install --retry 3
$GEM_HOME/bin/bundle exec rake syntax
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'