diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-07-03 11:21:21 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-07-03 11:21:21 -0700 |
commit | e5390d0fae9a471b86d8a5bf3871365fcb358822 (patch) | |
tree | eabc29ba2d227ac5f25e5f7ab50a5ff8ec6f2d0f /acceptance | |
parent | e419d7f0eb0c494a0a2f5d5963eac6fb35153bac (diff) | |
download | chef-e5390d0fae9a471b86d8a5bf3871365fcb358822.tar.gz |
acceptance tests are (ab)using our internal rubylcg/acceptance-fix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'acceptance')
-rw-r--r-- | acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb b/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb index 20b945db9b..2ba4fe81fc 100644 --- a/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +++ b/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb @@ -1,3 +1,7 @@ + +oldpath = ENV["PATH"] +ENV["PATH"] = "/opt/chef/embedded/bin:#{ENV["PATH"]}" + api_root_dir = "/var/opt/data_collector_api" directory api_root_dir do @@ -36,3 +40,5 @@ directory "/etc/chef" source "client-rb-#{config_file}.rb" end end + +ENV["PATH"] = oldpath |