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 August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy