Module for managaging metadata in SmartOS Zones
New in version 2016.3.0.
Jorge Schrauwen <sjorge@blackdot.be>
new
smartos
salt.modules.mdata.
delete_
(*keyname)¶Delete metadata
name of property
CLI Example:
salt '*' mdata.get salt:role
salt '*' mdata.get user-script salt:role
salt.modules.mdata.
get_
(*keyname)¶Get metadata
name of key
Note
If no keynames are specified, we get all (public) properties
CLI Example:
salt '*' mdata.get salt:role
salt '*' mdata.get user-script salt:role
salt.modules.mdata.
list_
()¶List available metadata
CLI Example:
salt '*' mdata.list
salt.modules.mdata.
put_
(keyname, val)¶Put metadata
name of property
value to set
CLI Example:
salt '*' mdata.list
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy