On Fri, Mar 27, 2009 at 11:00 PM, Peter Tribble <[email protected]> wrote: > So, a question for the weekend: > > When administering something, do you prefer to issue a bunch of commands > to set configuration parameters, or edit a configuration file that the > thing can read?
My own answer: edit the configuration file. When first experimenting with a new tool, then playing around interactively with it is good. After that, I want to do things directly in one shot. In many cases, all the tools are doing is editing a file for you. Also, how to backup and restore a configuration, or replicate it to another system? Virtually nothing comes back with the sequence of interactive commands necessary to reproduce the current configuration. Many things can output the configuration file, or you can copy it straight off the system. It's only a short step from that to directly generating new configuration files without the tools getting in the way. Configuration becomes dropping the files in place; validation is a case of comparing the configuration file on a system with the one in the master repository. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
