Actions
Bug #32944
closedforeman-maintain os major detection
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Description
the helper routines 'el7?' and 'el8?' in foreman_maintain/concerns/system_helpers.rb contain an error:
an assignment is done instead of equality check
def el7?
os_facts['os']['release']['major'] = '7' && el?
end
should be
def el7?
os_facts['os']['release']['major'] == '7' && el?
end
Actions