Centralized configuration controls solution(s) for CentOS?

General support questions
Post Reply
ByersW
Posts: 1
Joined: 2022/08/03 14:52:18

Centralized configuration controls solution(s) for CentOS?

Post by ByersW » 2022/08/03 15:26:04

I've been working on a controls package to configure CentOS devices according to company requirements/policy.

Being able to centralize the distribution and maintenance of these controls (cloud solution or otherwise) would be hugely beneficial as these machines are not guaranteed to be in the same building (or state for that matter).

Does CentOS offer any functionality that would help accomplish this? If not, what has been found to be the best fit for centrally managing CentOS systems?

(First-time poster, my apologies for any forum faux pas :D )

User avatar
jlehtone
Posts: 4148
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Centralized configuration controls solution(s) for CentOS?

Post by jlehtone » 2022/08/03 16:39:31

There are several configuration management systems. For example: Ansible, Chef, Puppet, and Salt.

Red Hat has documentation and "system roles" for Ansible. They have "Ansible Tower" (?) solution too,
but one can use Ansible without that.

I've installed Ansible (on CentOS 7 "control machine") with:

Code: Select all

yum install centos-release-ansible-29
yum install ansible
When one runs ansible (ansible-playbook), it connects to remote machines with ssh and applies configuration as expressed in "inventory" and "playbook".

Alternatively, one could install Ansible to managed devices and have them run "ansible-pull" regularly. The "pull" retrieves inventory and play from a (git) repository and applies to localhost.

User avatar
TrevorH
Site Admin
Posts: 32274
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centralized configuration controls solution(s) for CentOS?

Post by TrevorH » 2022/08/03 16:49:45

I use puppet to do this sort of thing. I think Red Hat still have their Satellite product though it's now a bunch of other projects all packaged up together.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke

Post Reply