I am new to Foreman. I have been using Spacewalk for my Linux infra to keep track of the number of systems and applying security patches. As I search spacewalk alternative I see foreman on the top of the list. I was able to deploy the foreman and bring up the Web UI. It looks quite different compare to Spacewalk. I am looking for some basic guideline:
- Does "Hosts" means in Foreman the same as "Systems" in spacewalk
- How do I add a Client different Linux distro to Foreman
- How do I setup Channels/Repos
Please share any link or document that would help to get me up to speed
Yes and no, the content host is nearly the same and the host is provisioning and configuration management view of the system which is as similar as possibly if the tooling differs widely for this part.
The subscription-manager is available for different distros so this should be the same, but this brings me to your third question as registering is only one side and you need a product too.
In Katello you have Product which is a group of repositories, repositories which can be yum but also deb and some other types and you have content views which are for doing a snapshot of content and grouping products/repositories (so the object most similar to channels) and life cycle environments to stage the content view version from development over testing to production (or how you want to name it).
Best is having a look at the docs, so the content management guide is perhaps the most important for you: Content Management Guide
You basically sync and manage those clients as you handle any other content. When provisioning a host, for example Ubuntu 20.04 where there is no subscription-manager available in its base repos, you need to provide this repo at time of installation. For more information, see Managing Hosts running Ubuntu 20.04.
Before I get too deep into this I want to make sure that I will be able to see a list of systems identifying which system requires security patches (ERRATA) and able to push it from the foreman console to selected systems
Once you have your host registered subscribed with a subscription if Red Hat repos, you will be able to see which systems need Errata after the clients push up their package/repo list and it is calculated. To apply errata to clients from the UI, you will want to make sure you have Remote Execution installed and configured.
In foreman, I don’t see a left menu option for Content. so, I need to install Katello. The foreman is installed on CentOS Stream release 8. How do I install Katello? The document link is not showing any installation instructions for version 4.0
The old doc page shows a link to the new docs. It’s in your screenshot: “Documentation is available at docs.theforeman.org”.
On a sidenote: it’s not supported to install katello on top of an existing foreman installation. As you have already installed foreman you’ll need to install katello (which includes foreman) on a new server.
@salton, I’ve been tinkering w/ tFm/Katello for some time (getting much closer,) and running with a collapsed install on a single server. Ultimately, I expect to run capsule servers for content deployment in remote data centers, retaining central control.