https://github.com/jaypei/saltstack-formulas-workenv
https://github.com/jaypei/saltstack-formulas-workenv
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaypei/saltstack-formulas-workenv
- Owner: jaypei
- Created: 2014-09-24T14:24:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T14:34:39.000Z (over 11 years ago)
- Last Synced: 2025-01-26T02:13:07.713Z (over 1 year ago)
- Language: Shell
- Size: 387 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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