<div dir="auto">How about<div dir="auto"><br></div><div dir="auto">ansible/chef/puppet or saltstack?</div><div dir="auto"><br></div><div dir="auto">Eero</div></div><div class="gmail_extra"><br><div class="gmail_quote">12.4.2017 1.23 ip. "Xen" <<a href="mailto:list@xenhideout.nl">list@xenhideout.nl</a>> kirjoitti:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just want to ask here colloquially.<br>
<br>
The promise of Linux is of course that you can modify your own system.<br>
<br>
But if you do; you run into the issue of perpetuating your changes.<br>
<br>
Keeping configuration alive through many installs is not very useful; and hence you seek a way to regenerate config or to reapply it from some config system that you design or use from someone else.<br>
<br>
I am sure there are millions such systems in the world because everyone pretty much develops his own thing :p.<br>
<br>
But are there any well known such systems that you use?<br>
<br>
For example I had a set of patches that would turn off systemd cryptsetup because it doesn't support keyscripts; the installer script I created for it would just check everything and the end result would be a re-applying of all changes without destroying anything.<br>
<br>
Because the script did all the checking, there was no headache for me. But this was a one time thing, and you look into formalizing the process so it doesn't take so much effort the next time. Then at some point you have a system in which you declaratively can specify patches or whatever, or changes, or commands, and you have a form of manifests and you just run a script that checks all the manifests and runs all the scripts and if you have this integrated very well it means that on a new system you can just "run all manifests" and presto you have the same system again.<br>
<br>
One example is that in KDE (Kubuntu) there would be a problem with the KWallet not realizing that there was no KDE4 wallet to migrate; but still trying, and you required a manual config change to make it stop nagging and all of these things can be very tiring to have to apply by hand.<br>
<br>
Other stuff may be installing a custom grub (if you have no package for it yet) or typical services (ie. in /etc/systemd/system) that you design for your system, or stuff in /etc/initramfs-tools/hooks, etc.<br>
<br>
Many of these elements is stuff that stays with you over time. You can manually back up those files (or create a file list you can feed to tar and it will archive up all of these individual files or directories) or you can also just recreate the files or copy them from some config "unit" you have for regenerating system configs.<br>
<br>
I have done at least in different situations:<br>
- the tar list<br>
- a single "redo config" script<br>
- a manifest system (rudimentary)<br>
- a script that can find and replace occurrances in an existing config.<br>
<br>
And I know there are some that have developed these systems in-house and are using them company-wide, for instances. Lately it seems to be about yaml files? I don't know.<br>
<br>
(I even at some point created a system that can automatically download reliable persistent links on the internet in terms of (mostly) open source sources or packages such that in the face of calamity or whatever you would be able to easily regenerate some (modified system) config including compiled binaries from the web all just for the sake of not having to repeat stuff manually in case calamity does strike (or you just want to move something to a different system). )<br>
<br>
Making backups of "permanent files" is all nice and dandy but having regeneration "recipes" that can be automatically executed is like a much more condensed and meaningful collection of artifacts that does not get mingled with: default configuration options, pecularities of a current system, etc.<br>
<br>
In addition perhaps to it being usable by others (or yourself).<br>
<br>
And I was meaning to say this is all rather unfinished and incomplete and rudimentary.<br>
<br>
So my question would have been: do you use any complete systems like that?<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/ubuntu-users</a><br>
</blockquote></div></div>