Assigning this to Andrew since he normally has RHELOSP-Installer deployments handy (for testing). Although it looks like Kambiz Aghaiepour <kambiz> might be able to provide more info on this.
I had a think about this and the method shown in comment #1 might not work in all cases. The piped commands (rpm -qa --last | grep "Thu 17 Jul" | awk '{ print $1 }') will only show a list of when these packages were last updated. This means if you perform an update, the dates will change for some (but not all) packages. I did some research and probably the best method for this is to you the following paramater in /etc/yum.conf: clean_requirements_on_remove=1 This will effectively nuke chosen packages and (if they're not required by anything else) their dependencies. So basically we need to do the following: 1. Add clean_requirements_on_remove=1 to /etc/yum.conf 2. Run: yum remove rhel-osp-installer foreman foreman-proxy puppet (anything else foreman related? dhcp? bind?) 3. Delete the directories specified in comment #1 How does this sound to everyone?
rhel-osp-installer leaves a number of config files in /etc/httpd/conf.d that should be removed as well.
Article now includes removing httpd too. Article is also published now so this bug can be closed.