info:configuration_management
This is an old revision of the document!
Configuration management
All config is hosted in GIT in the following repo: https://bitbucket.org/antiguru/config-vhost/
- Clone it to
/local/config
:mkdir /local git clone git@bitbucket.org:antiguru/config-vhost.git /local/config-vhost
- 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
rsync -R --links /etc/tinc /local/config-vhost/vhost2/
- Then, symlink the config back:
ln -s /local/config-vhost/vhost2/etc/tinc /etc/tinc
info/configuration_management.1553520972.txt.gz · Last modified: 2019/03/25 13:36 by hartmut