An open API service indexing awesome lists of open source software.

https://github.com/jaypei/saltstack-formulas-workenv


https://github.com/jaypei/saltstack-formulas-workenv

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

* Usage

** Install

#+BEGIN_SRC sh
cd
FORMULARS_PATH=`pwd`
sudo ln -s "$FORMULARS_PATH/file_root" /srv/salt
sudo ln -s "$FORMULARS_PATH/pillar_root" /srv/pillar
#+END_SRC

打开 /etc/salt/minion,设置为本地模式:
#+BEGIN_SRC conf
file_client: local
#+END_SRC

** Run state:

#+BEGIN_SRC sh
sudo salt-call state.highstate
#+END_SRC