Permalink
Browse files

Expect puppet to return exit code 2

Puppet exits with a status code of 2 when changes have been made - which
is what we are expecting here. Unfortunately, CI treats non-zero exit
codes as a failure. This updates the command to only fail if the exit
code *isn't* 2.
  • Loading branch information...
1 parent 3dcdcb5 commit 4fd2d7dfc021d5039bd2ddf873c32833dd1bc9e8 @jacobbednarz jacobbednarz committed Jan 12, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -2,7 +2,7 @@ os:
- osx
script:
- travis_wait rvm implode --force
-- travis_wait 60 ./script/boxen --no-fde --no-pull --profile --login $BOXEN_GITHUB_LOGIN --token $BOXEN_GITHUB_TOKEN
+- travis_wait 60 ./script/boxen --no-fde --no-pull --profile --login $BOXEN_GITHUB_LOGIN --token $BOXEN_GITHUB_TOKEN || test $? -eq 2
- source /opt/boxen/env.sh
- rake spec
before_install:

0 comments on commit 4fd2d7d

Please sign in to comment.