Re: RPM - Preventing uninstall and file conflicts.
Tim Mooney <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
In regard to: Re: RPM - Preventing uninstall and file conflicts., Paul...: > On Nov 14, 2007 1:22 PM, Hajducko, Steven > <[email protected]> wrote: >> > >> >> What we'd like to do is create RPM's for each set of tier configuration >> files. So I'd like to have my 'configs-web-production-1.0.0' RPM with >> /etc/hosts.allow, /etc/hosts, etc and then we simply install the correct >> tier RPM for any given system, depending on which tier the system resides >> in. As a side note, all these systems are either RHEL3 or RHEL4. > > I've been there too, and asked a lot of questions, eventually gave up > trying to replace config files like that. I got a lot of suggestions. > Maybe the best was to set up a CVS server and have systems update > those config files against it. But I didn't do it because it's easier > to just re-make the RPMS I need and distribute them than it is to hack > up a config rpm. Using a repository and a pull mechanism will work, but you might have better luck using a host configuration management system. The one that's probably the most well-known is cfengine, but I would suggest you have a look at some of the other options, especially puppet. Since all the systems are RHEL, you may also want to consider Red Hat Network. There's an option available for it (I think it's the "Management" entitlement) that allows some host configuration management functionality. Tim -- Tim Mooney [email protected] Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164