Bug #25684
closedforeman-installer missing dependencies
Description
Hello,
when I try to install the foreman with the katello scenario by this command
foreman-installer --scenario katello \
--foreman-initial-organization "Capensis" \
--foreman-initial-location "Lille" \
--foreman-proxy-content-puppet=false \
--puppet-agent=false \
--no-enable-puppet \
--puppet-server=false \
--puppet-server-ca=false \
--foreman-proxy-puppet=false \
--foreman-proxy-puppetca=false \
--foreman-proxy-manage-puppet-group=false \
--foreman-proxy-dhcp=false \
--foreman-proxy-dns=false \
--foreman-proxy-tftp=false \
--foreman-puppetrun=false
I get an error during the smart proxy registration step because apache isn't started at this time yet.
If I restart the installer, the problem doesn't appear anymore.
For the installation to succeed the first time, I have to do this.
sed -i 's/foreman_smartproxy { $foreman_proxy::registered_name:/foreman_smartproxy { $foreman_proxy::registered_name:\n require => Class['apache::service'],/g' \
/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
Technical environment :
Centos 7.5.1804
Foreman 1.19.0-1
Katello 3.8.0-5
Thanks in advance.
Rgs,
Sophian Mehboub