Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Perl module for automating the modification of config files?

by LanX (Sage)
on Oct 05, 2020 at 12:26 UTC ( #11122549=note: print w/replies, xml ) Need Help??


in reply to Re: Perl module for automating the modification of config files?
in thread Perl module for automating the modification of config files?

These solutions are meant for mid to large scale remote deployment of fixed versions.

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!

  • Comment on Re^2: Perl module for automating the modification of config files?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-12-03 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (28 votes). Check out past polls.

    Notices?