Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208028

Re: How do I trace changes in configuration files?

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: How do I trace changes in configuration files?
Date 2019-05-02 12:10 +0200
Message-ID <xTgP7-hb-1@gated-at.bofh.it> (permalink)
References <xSTSx-2Nt-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Erik,

On Wed, May 01, 2019 at 11:35:48AM +0200, Erik Josefsson wrote:
> I have tried to document my personal preferences before, but I have always
> ended up with unreadable handwritten notes.
> 
> This time I thought I should do it in a more systematic way by somehow
> capture the difference between the default install and the result of my
> (often irrational) efforts to make my machines look and feel like I want it
> to.
> 
> So, is there a way to trace/record/capture changes in all configuration
> files?

I like to invert the problem by not making any changes to
configurations except through a config management system like
Ansible, Chef, Puppet, etc.

That enforces treating the configuration of the system like a
software project, so changes are recorded in a version control
system like git; what you did is automatically documented just
by the act of doing it, so forgetting to document is less of a
problem. Running through the config management again should bring
the new machine into the same state.

(Of course, documenting WHY you made a change or any more detail
than what the change was, is still on you!)

I don't find it overkill even for just one or two machines, though
it does of course come into its own with much larger numbers of
machines. Just from the documentation and reproduction angles I find
it worth it.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How do I trace changes in configuration files? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-05-01 11:40 +0200
  Re: How do I trace changes in configuration files? Jonas Smedegaard <jonas@jones.dk> - 2019-05-01 13:00 +0200
  Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-01 13:40 +0200
    Re: How do I trace changes in configuration files? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-05-01 18:50 +0200
      Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-01 19:30 +0200
      Re: How do I trace changes in configuration files? Joe <joe@jretrading.com> - 2019-05-01 23:20 +0200
        Re: How do I trace changes in configuration files? Jude DaShiell <jdashiel@panix.com> - 2019-05-02 00:10 +0200
      Re: How do I trace changes in configuration files? David Wright <deblis@lionunicorn.co.uk> - 2019-05-02 05:30 +0200
        Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-02 13:10 +0200
        Re: How do I trace changes in configuration files? Lee <ler762@gmail.com> - 2019-05-02 18:20 +0200
          Re: How do I trace changes in configuration files? David Wright <deblis@lionunicorn.co.uk> - 2019-05-02 22:20 +0200
            Re: How do I trace changes in configuration files? Lee <ler762@gmail.com> - 2019-05-02 23:00 +0200
  Re: How do I trace changes in configuration files? Andy Smith <andy@strugglers.net> - 2019-05-02 12:10 +0200

csiph-web