Skip to content

Instantly share code, notes, and snippets.

Created September 18, 2015 19:38
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/3ac70fe2abced65736e1 to your computer and use it in GitHub Desktop.
Save anonymous/3ac70fe2abced65736e1 to your computer and use it in GitHub Desktop.
salt * grains.setval custom_grain value
----------
custom_grain:
value
salt * state.sls states.bootstrap test=False
Name: custom_grain - Function: grains.present - Result: Clean
Summary
------------
Succeeded: 1
Failed: 0
------------
Total states run: 1
salt * grains.item custom_grain
----------
custom_grain:
real_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment