Various salt states, mainly for convenience, and ease of setup in a Ubuntu-based development environment.
One quick and easy possible way to use these states, is by running salt masterless. For a full reference see saltstack docs:
Once you're setup with salt:
$ sudo mkdir /srv/ionics
$ sudo chown --recursive `whoami`:`whoami` /srv/ionics
$ git clone <your_fork> /srv/ionicsEdit pillar/common.sls:
$ vim /srv/ionics/pillar/common.slsso that user and group are set to your username (i.e.: whomai).
Edit /etc/salt/minion, so that at a minimum, it contains:
file_client: local
file_roots:
base:
- /srv/ionics/salt
pillar_roots:
base:
- /srv/ionics/pillarA minimalistic example minion file is provided in this repo.
To apply the states:
$ sudo salt-call --local -l debug state.highstate