-
-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add none as an option to service_manager to allow using the system de…
…faults (#1283) * Add none as an option to service_manager to allow using the system defaults This is needed if you're trying to use the system packages and not the upstream repository. This is useful for non-standard CPU architectures which might not have upstream support. Signed-off-by: Lance Albertson <lance@osuosl.org> * Fix CI Signed-off-by: Lance Albertson <lance@osuosl.org> * CI Fixes Signed-off-by: Lance Albertson <lance@osuosl.org> * Update spec tests Signed-off-by: Lance Albertson <lance@osuosl.org> * Update platforms for vagrant smoke tests Signed-off-by: Lance Albertson <lance@osuosl.org> * Update kitchen.yml Co-authored-by: Corey Hemminger <hemminger@hotmail.com> --------- Signed-off-by: Lance Albertson <lance@osuosl.org> Co-authored-by: Corey Hemminger <hemminger@hotmail.com>
- Loading branch information
Showing
8 changed files
with
38 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
test/cookbooks/docker_test/recipes/installation_package.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
docker_ver = | ||
# Include epoch on RHEL to fix idempotency issues | ||
if platform_family?('rhel', 'fedora') | ||
'3:20.10.11' | ||
# Debian 9 does not include 20.10 | ||
elsif platform?('debian') && node['platform_version'].to_i == 9 | ||
'19.03.14' | ||
else | ||
'20.10.11' | ||
end | ||
|
||
docker_installation_package 'default' do | ||
version docker_ver | ||
action :create | ||
end |
23 changes: 3 additions & 20 deletions
23
test/integration/install_and_stop/inspec/assert_functioning_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
test/integration/installation_package/inspec/assert_functioning_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
if os.family == 'redhat' && os.release.to_i == 8 | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/26\.1\./) } | ||
end | ||
else | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/27\.1\./) } | ||
end | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/2[0-9]\.[0-9]+\./) } | ||
end |