Last active
August 29, 2015 13:57
-
-
Save Supermathie/9901883 to your computer and use it in GitHub Desktop.
salt master config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipc_mode: tcp | |
master: orchestrator.netdirect.ca | |
root_dir: c:\salt | |
pki_dir: /conf/pki/minion | |
id: win7-salt | |
multiprocessing: False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michael@orchestrator:/srv/salt/_grains | |
○ → sudo salt 'win7-salt' saltutil.sync_all | |
win7-salt: | |
---------- | |
grains: | |
modules: | |
outputters: | |
renderers: | |
returners: | |
states: | |
michael@orchestrator:/srv/salt/_grains | |
○ → sudo salt 'win7-salt' grains.item ztest | |
win7-salt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_roots: | |
base: | |
- /srv/salt | |
file_ignore_regex: | |
- '/\.svn($|/)' | |
- '/\.git($|/)' | |
file_ignore_glob: | |
- '*.pyc' | |
- '*.swp' | |
fileserver_backend: | |
- roots | |
log_level_logfile: debug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michael@orchestrator:/srv/salt/_grains | |
○ → cat /srv/salt/_grains/test.py | |
# -*- coding: utf-8 -*- | |
''' | |
I'm testing. | |
''' | |
def testme(): | |
return {'ztest': 'success'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment