User Tools

Site Tools


info:configuration_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
info:configuration_management [2019/03/25 14:37] hartmutinfo:configuration_management [2019/03/25 14:44] (current) hartmut
Line 1: Line 1:
 ==== Configuration management ==== ==== Configuration management ====
  
-All config is hosted in GIT in the following repo''https://bitbucket.org/antiguru/config-vhost/'' +See there[[infra: configuration management]].
-  - Clone it to ''/local/config'': +
-    - <code>mkdir /local +
-git clone git@bitbucket.org:antiguru/config-vhost.git /local/config-vhost</code> +
-    - All configuration should go to ''/local/config-vhost/$HOST''+
-  - Configured packages should have their config in the git repo. Do this by installing the package and then move the config to ''/local/config-vhost/$HOST/'', while keeping the directory structure. +
-    - For example, with <code>rsync -R --links /etc/tinc /local/config-vhost/vhost2/</code> +
-  - Then, symlink the config back: <code>ln -s /local/config-vhost/vhost2/etc/tinc /etc/tinc</code> +
- +
-Work on the local copy on your machine, test it there if possible, then, push to Bitbucket, pull to the vhost and apply the changes there by restarting or reloading the service.+
info/configuration_management.1553521072.txt.gz · Last modified: 2019/03/25 14:37 by hartmut

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki