Manage a local persistent data structure that can hold any arbitrary data specific to the minion
Check and set a value in the minion datastore
CLI Example:
salt '*' data.cas <key> <value> <old_value>
Clear out all of the data in the minion datastore, this function is destructive!
CLI Example:
salt '*' data.clear
Replace the entire datastore with a passed data structure
CLI Example:
salt '*' data.dump '{'eggs': 'spam'}'
Get a value from the minion datastore
CLI Example:
salt '*' data.getval <key>
Get values from the minion datastore
CLI Example:
salt '*' data.getvals <key> [<key> ...]
Return all of the data in the minion datastore
CLI Example:
salt '*' data.load
Update a key with a value in the minion datastore
CLI Example:
salt '*' data.update <key> <value>
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.16.33. salt.modules.darwin_sysctl
Upcoming SaltStack events, webinars and local meet ups and user groups.