SpamExperts implementation of the RABL system
To install the server, follow these steps.
- Install required packages:
apt update && apt install -y git salt-minion
- Restart salt minion:
systemctl restart salt-minion
- Clone the repository:
git clone [email protected]:SpamExperts/se-rabl.git /var/cache/se-rabl/
- Copy the minion configuration:
cp /var/cache/se-rabl/salt/minion /etc/salt/minion
- Run salt:
salt-call --local state.highstate pillar='{"mysql":{"password":"rootpassword", "rabl_password":"serverpassword"}}'
- If you want to update the server after the first install add the just_update flag:
git -C /var/cache/se-rabl pull && salt-call --local state.highstate pillar='{"just_update":true}'
TODO