zutils-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zutils-bug] Location of zutilsrc


From: Antonio Diaz Diaz
Subject: Re: [Zutils-bug] Location of zutilsrc
Date: Wed, 30 Nov 2022 17:50:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Daniel Baumann wrote:
old-school config handling requires manipulating one file,
e.g. /etc/ssh/ssh_config.

when doing configuration management, then that is very unfortunate
design (thus unrelated of the implementation of the configuration
management, be it homegrown or any of ansible/puppet/chef/$whatever...),
because the file has to be parsed and edited - which inevitably always
leads to problems over time, no matter how "good" the parser for a
specific conffile is (be it comments added, local changes, or just the
fact that the package management (dpkg/rpm) treat it as "modified" and
thus will prompt for it on upgrades).

the way to fix this completely is to allow to drop "snippets" of config
files into a directory, which then are read lexicographically sorted.

Thank you for the explanations. I had not heard about configuration management before.

I guess I'm very "old-school", because I can't imagine zcmp implementing something like this and wasting more time in assembling the config file than in doing real work (comparing bytes).

Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]