Skip to content

Commit

Permalink
drop old EL7 test specialcases
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ekohl committed May 21, 2024
1 parent 1fc15de commit 8e69979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/defines/foreman_plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
context 'no parameters' do
package_name = case facts[:osfamily]
when 'RedHat'
facts[:os]['release']['major'] == '7' ? 'tfm-rubygem-foreman_myplugin' : 'rubygem-foreman_myplugin'
'rubygem-foreman_myplugin'
when 'Debian'
'ruby-foreman-myplugin'
end
Expand Down
2 changes: 1 addition & 1 deletion spec/support/acceptance/purge.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def purge_foreman
case fact('osfamily')
when 'RedHat'
on default, 'yum -y remove foreman* tfm-*'
on default, 'yum -y remove foreman*'
when 'Debian'
on default, 'apt-get purge -y foreman*', { :acceptable_exit_codes => [0, 100] }
on default, 'apt-get purge -y ruby-hammer-cli-*', { :acceptable_exit_codes => [0, 100] }
Expand Down

0 comments on commit 8e69979

Please sign in to comment.