Skip to content

Commit

Permalink
Update sample_spec.rb for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuo committed Aug 26, 2023
1 parent eddd46c commit f1b9d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist-docs/vm-for-trial/spec/192.168.56.101/sample_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def remove(options={}); end
its(:content) { should match /baseurl = https:\/\/dlm.mariadb.com\/repo\/mariadb-server\/10.7\/yum\/rhel\/7\/x86_64/ }
end
describe file('/etc/yum.repos.d/mariadb.repo'), :if => os[:family] == 'redhat' && os[:release].to_f >= 8 do
its(:content) { should match /baseurl = https:\/\/dlm.mariadb.com\/repo\/mariadb-server\/11.0\/yum\/rhel\/8\/x86_64/ }
its(:content) { should match /baseurl = https:\/\/dlm.mariadb.com\/repo\/mariadb-server\/11.1\/yum\/rhel\/8\/x86_64/ }
end
describe package('MariaDB-server'), :if => os[:family] == 'redhat' && os[:release].to_f >= 7 do
it { should be_installed }
Expand Down

0 comments on commit f1b9d39

Please sign in to comment.