Undeploy configuration file via Satellite
Hi,
just a quick question because I could not find anything in the documentation:
Is it possible to "undeploy" a configuration file from a system via the Satellite?
Background is, we are cleaning up our configuration channels and are also removing file from them which are no longer needed.
Now we would like those files to be removed from the subscribed systems too.
Regards,
André
Responses
It depends on what exactly you mean by undeploy... ;-)
If you are replacing an existing file (i.e. /etc/sudoers) with your configuration channel file, it makes a backup copy in /var/lib/rhncfg/backups/ - however.. this will not necessarilly replace it back to the Original copy. Instead, it keeps the last version that was current.
If you are referring to a custom (non-OS) file (i.e. /home/user/.bashrc) - I can't think of a way to remove it, other than creating a remote command to do so, once you have deleted the file from the Config Channel.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
