Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

ensure sub-man installed before installing katello ca rpm #233

Closed evgeni closed 6 years ago

evgeni commented 6 years ago

the rpm requires it, but it might be not installed yet (like on plain CentOS)

sideangleside commented 6 years ago

The install_prereqs() function exists to ensure that sub-man is installed and is called before get_bootstrap_rpm() (https://github.com/Katello/katello-client-bootstrap/blob/master/bootstrap.py#L1045:L1047)

Why do we need another call to install sub-man? (ergo, if we exit the install_prereqs() function without having sub-man installed, that's a bug)

evgeni commented 6 years ago

scratch that, https://github.com/Katello/katello-client-bootstrap/pull/227 does not call install_prereqs()