Satellite 6 and config file management
Hi
I have Satellite 6.1.3 up and running and have a challengs right now that I need to tackle. Basically I want to be able to update and distribute /etc/sudoers and /etc/auto.master files across all my servers. A typical scenario is when you need to add/remove sudo rules and update them on all or large number of servers. Or need to add new NFS auto mount point to /etc/auto.master file. I do it usually 2-3 times a week.
In the old (Satellite 5 ) I used to have Configuration Channel (In the GUI Configuration->Configuration Channels) with for example sudoers file and I could then update the file and apply config channel to all or selected servers.
What is the best way to do it in Satellite 6?
Responses
Configuration file management in Sat 6+ is done using Puppet. Its can do much more than Configuration Channels in Satellite 5.6.
This guide can help you do that.
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html/Puppet_Guide/index.html
You will have to write a puppet module for that or you may some on forge.puppetlabs.com
- Swapnil
Boris, Satellite 5 and 6 architecture are totally different. You need to configure your host group and put your hosts under that. The 2nd task is to configure puppet-agent: https://access.redhat.com/solutions/1228973. You can have n number of config file on your list, that puppet will take care to ensure they have been persistent...Manoj
In Sat 5, I currently have a config channel for each host plus a config channel fo the release (rhel5, rhel6, rhel7) plus additional channels if required. In the host specific channel I put the SSH keys for example, /etc/ssh/key. I do this so when I need to rebuild machines, they get their same key back. How do I replicate this in Sat 6?
Puppet seems like a very large hammer...
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
