PLACEDownload place from sourceforge.netWhat is place? place is a system for keeping track of where system files should be "placed" on the system. place will keep track of any file you tell it to, across multiple systems. The idea is to have a central "place DB" server set up that holds all the system file information for all the systems that you administer, and then you have a "place client" on each server that queries the DB when you need to place files into their live location. Also, place allows you to create an "after script" that will be run after the file is placed to perform any additional tasks that might be needed to make changes take effect. Why would anyone need this? Well, I don't know if anyone else would need it or not, but I can tell you why I created
place. Place is just one part of the process that I use to keep track of system changes
on multiple systems, by multiple administrators. Do I have to keep my system files in CVS to use place? Well, no... place will work independantly of anything else you use. So if you have a different way of tracking changes to system files, you can keep whatever you are currently using. All place does is keeps track of where files are supposed to go, and places them there when it's told to do that. Isn't it a pain in the ass to have to checkout things from CVS, make changes, commit them back, etc? Wouldn't it be easier to just modify the system file itself? Yes, that would be easier. But it's kind of defeating the purpose. The reason that I keep all the system files in CVS is so that we have a record of what changes were made to each and every one of the systems that we're responsible for. We know what changes were made, when the changes were made, and who made them. In addition, if we ever need to restore the system in the event of a crash, we have the latest and greatest config available to us in the CVS repository. This makes restoring or reloading a system a lot easier than trying to re-configure everything again by change and trying to remember all the changes that have been made to the server. (I've had to restore a couple servers from the CVS sysconf module before and it really does make it go a lot smoother) What's an "after script" anyway? An after script is a script that gets run after the file has been placed. The
reason that place allows for after scripts is that there are some system files
that require you to execute a command (or commands) after the file has been
placed to make your changes take effect. A couple examples I can think
of off the top of my head are bind and sendmail. For bind, when you edit
a zone file, you need to issue a command to the bind daemon so that it reloads
its zone files. For sendmail, when you make changes to the files in
/etc/mail such as virtusertable, access, etc, you need to run a makemap
command to update the proper db so that the changes will take effect in
sendmail. Both of these are perfect examples of why an after script
is convenient. Rather than having to remember the command (and remembering
to type it in), you can simply create an after script in place, and then
when you place the file, you will be prompted as to whether or not you'd
like to run the after script. That's stupid. MMMkay... that's not really a question. Send any questions, comments, hate-mail, etc to place@hanser.org. Where can I get a copy of place? You can download the latest release of place from the Sourceforge Project Summary Page. |