Skip to content

Instantly share code, notes, and snippets.

Created September 21, 2015 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b3263dcc5cae7bb249ea to your computer and use it in GitHub Desktop.
Save anonymous/b3263dcc5cae7bb249ea to your computer and use it in GitHub Desktop.
-> salt minion grains.get init
minion:
None
-> salt minion grains.setval init true
minion:
----------
init:
True
-> salt minion grains.get init
minion:
True
-> salt minion state.highstate test=False
minion:
Name: C:/salt/conf/minion - Function: file.managed - Result: Clea
----------
ID: C:/salt/conf/grains
Function: file.managed
Result: True
Comment: File C:/salt/conf/grains updated
Started: 14:26:54.496000
Duration: 15.0 ms
Changes:
----------
diff:
---
+++
@@ -1,3 +1,3 @@
-EnvironAbbr: AX
-FunctionAbbr: POWERSHELL
-init: true
+init: true
+EnvironAbbr: AX
+FunctionAbbr: POWERSHELL
Summary
------------
Succeeded: 2 (changed=1)
Failed: 0
------------
Total states run: 2
-> salt minion grains.get init
minion:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment