git clone --recursive https://git.nordisch.org/darix/cfgmgmt-template.git /srv/cfgmgmt
ln -s /srv/cfgmgmt/config/salt_master.conf /etc/salt/master.d
If you only want to listen on some internal interface
echo "interface: 127.0.0.1" > /etc/salt/master.d/bind_local_only.conf
We want secure permissions for this setup. If you want to edit as a non-root user you call it like:
/srv/cfgmgmt/tools/fix-permissions username
If you omit the username parameter it defaults to root.
Last but not least I would recommend create your own branch for using:
cd /srv/cfgmgmt
git branch production
If you want to keep up to date with later fixes in the template
cd /srv/cfgmgmt
git fetch origin
git rebase origin/main