Skip to content

Commit 8e69979

Browse files
evgeniekohl
authored andcommitted
drop old EL7 test specialcases
1 parent 1fc15de commit 8e69979

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/defines/foreman_plugin_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
context 'no parameters' do
1515
package_name = case facts[:osfamily]
1616
when 'RedHat'
17-
facts[:os]['release']['major'] == '7' ? 'tfm-rubygem-foreman_myplugin' : 'rubygem-foreman_myplugin'
17+
'rubygem-foreman_myplugin'
1818
when 'Debian'
1919
'ruby-foreman-myplugin'
2020
end

spec/support/acceptance/purge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def purge_foreman
22
case fact('osfamily')
33
when 'RedHat'
4-
on default, 'yum -y remove foreman* tfm-*'
4+
on default, 'yum -y remove foreman*'
55
when 'Debian'
66
on default, 'apt-get purge -y foreman*', { :acceptable_exit_codes => [0, 100] }
77
on default, 'apt-get purge -y ruby-hammer-cli-*', { :acceptable_exit_codes => [0, 100] }

0 commit comments

Comments
 (0)