3 ms·
Do you add every single file under /etc to that repository, or just selected ones or what is your workflow?
by jonas-w 4y ago
Do you add every single file under /etc to that repository, or just selected ones or what is your workflow?
- kazinator 4y agoYes, everything. The danger is that you won't notice that you changed something; if a file is not under git and you touch it, you don't know. (I have extensive experience with the Quilt patch management system; countless times I forgot a "quilt add" before changing something. You will not remember.) Stuff outside of /etc I've added on a case by case basis. I have customized some code in the Roundcube webmail app, so I put it that installation under git. Now there is some garbage software that puts changing state under /etc. Can you believe it? Snap is like this, and I installed that in order to get Certbot (the SSL cert manager). So I ended up with spurious changes in these changing state files. Ugh.
- jonas-w 4y agoYeah thats why i'm asking, i also added everything but /etc is not as static as someone would think. For certbot i would recommend to just install it with pip and throw snap out of the window. https://certbot.eff.org/instructions?ws=nginx&os=pip https://certbot.eff.org/instructions?ws=nginx&os=pip
- kazinator 4y agoToo risky at this point; I could end up with a site whose cert fails to renew. From my point of view, Snap to Python is like frying pan out of the fire. Better the devil that currently works.