SaltStack Deconstructed - Intro
image/svg+xml
SaltStack Deconstructed - Intro
salt/modules
/srv/salt/_modules
Repo:
Custom:
$ salt '*' saltutil.sync_grains
$ salt '*' --return mysql_return state.highstate
minion.d/return.conf
return: mysql
minion.d/return.conf
return: mysql,kafka
Rt
mysql
.
returner
Rt
mysql
.
returner
Rt
kafka
.
get_jid
Rt
mysql
.
returner
Rt
salt
Rt
kafka
.
get_jid
Rt
couchbase
.
event_return
Rt
mysql
.
returner
salt/returners
/srv/salt/_returners
Repo:
Custom:
$ salt '*' saltutil.sync_returners
$ salt '*' test.ping --out=pony
Op
pony
.
output
Op
json_out
.
output
$ salt '*' test.ping --out=json
Op
highstate
.
output
$ salt '*' test.ping
Op
salt
Op
pony
.
output
Op
json_out
.
output
Op
highstate
.
output
salt/output
/srv/salt/_output
Repo:
Custom:
$ salt '*' saltutil.sync_output
$ salt '*' saltutil.sync_outputters
1
Start
output
returner
End