/usr/share/foreman-installer/apache/manifests/install.php
/usr/share/foreman-installer/passenger/manifests/install.pp
/usr/share/foreman-installer/tftp/manifests/install.pp
and
/usr/share/foreman-installer/foreman/manifests/install/repos.pp
add
"OracleLinux" (case sensitive) to the $::operatingsystem case statement, or you may be able to switch to "osfamily" which facter sees as RedHat correctly for all redhat based systems (at least for the ones I have)
also need to change this file:
/usr/share/foreman-installer/foreman/spec/defines/foreman_install_repos_spec.rb
context 'on EL' do
let (:facts) do
{
:operatingsystem => 'RedHat',
:operatingsystemrelease => '6.3'
}
end
to possibly
context 'on EL' do
let (:facts) do
{
:osfamily => 'RedHat',
:operatingsystemrelease => '6.3'
}
end
facter output:
[root@puppet defines]# facter | grep RedHat
osfamily => RedHat
[root@puppet defines]# facter | grep operatingsystem
operatingsystem => OracleLinux
operatingsystemrelease => 6.4
[root@puppet defines]#
technically they should all be able to use osfamily should they not to simplify it so you don't need to edit them all?
I tried pulling the foreman git repo, but I couldn't make sense of where these files were. I'll study a bit more and learn some git to submit a patch if needbe and i'll look for other files that may need updating.