SaltStack Deconstructed - Intro
image/svg+xml
SaltStack Deconstructed - Intro
salt/modules
/srv/salt/_modules
Repo:
Custom:
$ salt '*' saltutil.sync_grains
Master
salt-master
salt-api
salt-run
Rn
virt
.
start
Rn
manage
.
versions
Rn
state
.
orch
salt/runners
{{ runner_dirs }}
Repo:
Custom:
$ cp runner.py $RUNNER_DIRS/runner.py
salt-run
minion_manager.py
import salt.wheel
...
wheel.cmd('key.accept', ['minion1'])
salt-key
salt-api
Wh
key
.
accept
Wh
file_roots
.
list_roots
Wh
config
.
values
Wh
key
.
accept
salt/wheel
N/A
Repo:
Custom:
$ cp wheel.py <SALT DIST PATH>/wheel
1
Start
wheel
runner
End