Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixhummel/saltstates
Felix' Salt States
https://github.com/felixhummel/saltstates
saltstack
Last synced: about 2 months ago
JSON representation
Felix' Salt States
- Host: GitHub
- URL: https://github.com/felixhummel/saltstates
- Owner: felixhummel
- License: mit
- Created: 2013-03-06T18:40:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T13:44:00.000Z (over 3 years ago)
- Last Synced: 2024-11-04T09:37:20.645Z (3 months ago)
- Topics: saltstack
- Language: SaltStack
- Homepage:
- Size: 196 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - felixhummel/saltstates - Felix' Salt States (others)
README
# Felix' Salt States
The following is for a [masterless][] setup.
[masterless]: https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
Install Salt via https://bootstrap.saltstack.com
```
curl https://raw.githubusercontent.com/felixhummel/saltstates/master/bin/masterless.sh | sudo -i bash
```
See [bin/masterless.sh](bin/masterless.sh) for details.# Default (Debian 9)
```
sudo -igit init /srv/salt
git init /srv/pillarcd /srv/salt
git submodule add https://github.com/felixhummel/saltstates felix/
git commit -m initialcp -r felix/examples/salt/* /srv/salt
cp -r felix/examples/pillar/* /srv/pillarcat << 'EOF' > /etc/salt/minion
# https://docs.saltstack.com/en/latest/ref/output/all/salt.output.highstate.html
state_verbose: False
state_output: changesfile_client: local
file_roots:
base:
- /srv/salt
felix:
- /srv/salt/felixtop_file_merging_strategy: same
EOFsalt-call grains.get id
salt-call pillar.get users
salt-call state.apply test=true
```