diff options
author | Marc Chamberland <mchamberland@pbsc.com> | 2019-05-05 18:55:51 -0400 |
---|---|---|
committer | Marc Chamberland <mchamberland@pbsc.com> | 2019-05-23 12:29:44 -0400 |
commit | 44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec (patch) | |
tree | 1b1c1aff271923af23e987f36f98183ba20a59c9 /spec/integration/solo | |
parent | f5de2c58ea3705a20a6784251a3cd8a58618f24d (diff) | |
download | chef-44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec.tar.gz |
distro constants for solo, zero and automate
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'spec/integration/solo')
-rw-r--r-- | spec/integration/solo/solo_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/integration/solo/solo_spec.rb b/spec/integration/solo/solo_spec.rb index 3d2efe703c..0d24269199 100644 --- a/spec/integration/solo/solo_spec.rb +++ b/spec/integration/solo/solo_spec.rb @@ -5,8 +5,9 @@ require "chef/config" require "timeout" require "fileutils" require "chef/win32/security" if Chef::Platform.windows? +require "chef/dist" -describe "chef-solo" do +describe Chef::Dist::SOLOEXEC do include IntegrationSupport include Chef::Mixin::ShellOut @@ -16,7 +17,7 @@ describe "chef-solo" do let(:cookbook_ancient_100_metadata_rb) { cb_metadata("ancient", "1.0.0") } - let(:chef_solo) { "bundle exec chef-solo --legacy-mode --minimal-ohai" } + let(:chef_solo) { "bundle exec #{Chef::Dist::SOLOEXEC} --legacy-mode --minimal-ohai" } when_the_repository "creates nodes" do let(:nodes_dir) { File.join(@repository_dir, "nodes") } |