summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarc Chamberland <mchamberland@pbsc.com>2019-06-03 22:15:16 -0400
committerMarc Chamberland <mchamberland@pbsc.com>2019-06-03 23:05:49 -0400
commit7eda1e5bf3f71c00bd08bde20a03b817caf95095 (patch)
tree0c6ea467b4e4af4acbadf7ab777a7ef4bd19cb8e /spec
parent8ab574c75ada5112b89149cc63b3a4f007664974 (diff)
downloadchef-7eda1e5bf3f71c00bd08bde20a03b817caf95095.tar.gz
more distro constants
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/client/exit_code_spec.rb2
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(" ") }