in reply to Re: Perl module for automating the modification of config files?
in thread Perl module for automating the modification of config files?
I suppose the actual management of config files is primarily done with templates° and must - if properly done - be adjusted for every new software version. This pays off when scalability matters.
But the ability to adjust to an extended config file of a new version for a single installation will be limited, especially if it comes in the OP's shown form of a default cfg where one is supposed to uncomment options.
In this case
- storing the old default
- alarming about diffs
- adjusting the template manually
might be the only pragmatic solution to have some efficiency.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
update
°) please correct me otherwise!
|
---|