diff options
author | Marc Chamberland <mchamberland@pbsc.com> | 2019-06-03 22:15:16 -0400 |
---|---|---|
committer | Marc Chamberland <mchamberland@pbsc.com> | 2019-06-03 23:05:49 -0400 |
commit | 7eda1e5bf3f71c00bd08bde20a03b817caf95095 (patch) | |
tree | 0c6ea467b4e4af4acbadf7ab777a7ef4bd19cb8e /spec/integration | |
parent | 8ab574c75ada5112b89149cc63b3a4f007664974 (diff) | |
download | chef-7eda1e5bf3f71c00bd08bde20a03b817caf95095.tar.gz |
more distro constants
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/client/exit_code_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/client/exit_code_spec.rb b/spec/integration/client/exit_code_spec.rb index 6600a65c9f..ff48d69527 100644 --- a/spec/integration/client/exit_code_spec.rb +++ b/spec/integration/client/exit_code_spec.rb @@ -21,7 +21,7 @@ describe "chef-client" do # machine that has omnibus chef installed. In that case we need to ensure # we're running `chef-client` from the source tree and not the external one. # cf. CHEF-4914 - let(:chef_client) { "bundle exec chef-client --no-fork --minimal-ohai" } + let(:chef_client) { "bundle exec #{Chef::Dist::CLIENT} --no-fork --minimal-ohai" } let(:critical_env_vars) { %w{PATH RUBYOPT BUNDLE_GEMFILE GEM_PATH}.map { |o| "#{o}=#{ENV[o]}" } .join(" ") } |