Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by LanX (Saint)
on Oct 05, 2020 at 12:26 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-16 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found