reggae-salt
—
salt provisioner for CBSD jails
A service with salt provisioner consists of:
- Makefile - configured for use with salt
- playbook - containing top.sls and core.sls playbooks
When ran with this configuration, reggae will first check if salt
executable is available, and if it isn't, it will run pkg install -y
py36-salt inside jail. Then it will mount playbook directory on
/usr/local/etc/salt/states inside jail. To do actual provisioning, Reggae
uses salt-call --local state.apply.
Quickest way to get basic service provisioned with salt is:
mkdir myservice
cd myservice
reggae init salt
make
Goran Mekić <meka@tilda.center>