New version of salt-formula from Saltstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456
  1. #!/bin/bash
  2. salt-call state.show_highstate --out yaml > ./highstate
  3. python salt-state-graph.py < ./highstate > ./highstate.dot
  4. dot -Tpng < ./highstate.dot -o ./highstate.png
  5. dot -Tsvg < ./highstate.dot -o ./highstate.svg