diff options
author | Tim Smith <tsmith@chef.io> | 2021-06-09 12:03:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 12:03:21 -0700 |
commit | bb40220e43adf96561619d41f0a1ef1fe1635012 (patch) | |
tree | 2c879a0fc9d47ad59327001eae998dcde5b394d7 /kitchen-tests | |
parent | c3d5f335a44e68d371f5393f6c7ad08d8de0736c (diff) | |
download | chef-bb40220e43adf96561619d41f0a1ef1fe1635012.tar.gz |
Add testing of installing knife into the client (#11682)
* Test installing knife gem into the client
Let's make sure this works on all platforms
Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove ed25519 gem from the omnibus install
If we can install knife we're good.
Signed-off-by: Tim Smith <tsmith@chef.io>
* Install knife on everything but RHEL 6
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_packages.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_packages.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_packages.rb index 93a2c4d467..68c31e633b 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/_packages.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_packages.rb @@ -15,10 +15,11 @@ pkgs.each do |pkg| multipackage pkgs end -gems = %w{chef-ruby-lvm community_cookbook_releaser} +# make sure customers can install knife back into the client for now +# and also make sure chef_gem works in general +gem_name = rhel6? ? "community_cookbook_releaser" : "knife" -gems.each do |gem| - chef_gem gem do - compile_time false - end +chef_gem gem_name do + action :install + compile_time false end |