Module for managaging metadata in SmartOS Zones
2016.3.0 新版功能.
maintainer: | Jorge Schrauwen <sjorge@blackdot.be> |
---|---|
maturity: | new |
platform: | smartos |
salt.modules.mdata.
delete
(*keyname)¶Delete metadata
CLI Example:
salt '*' mdata.get salt:role
salt '*' mdata.get user-script salt:role
salt.modules.mdata.
get
(*keyname)¶Get metadata
注解
If no keynames are specified, we get all 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
CLI Example:
salt '*' mdata.list