Support for Layman
salt.modules.layman.
__virtual__
()¶Only work on Gentoo systems with layman installed
salt.modules.layman.
add
(overlay)¶Add the given overlay from the cached remote list to your locally installed overlays. Specify 'ALL' to add all overlays from the remote list.
Return a list of the new overlay(s) added:
CLI Example:
salt '*' layman.add <overlay name>
salt.modules.layman.
delete
(overlay)¶Remove the given overlay from the your locally installed overlays. Specify 'ALL' to remove all overlays.
Return a list of the overlays(s) that were removed:
CLI Example:
salt '*' layman.delete <overlay name>
salt.modules.layman.
list_all
()¶List all overlays, including remote ones.
Return a list of available overlays:
CLI Example:
salt '*' layman.list_all
salt.modules.layman.
list_local
()¶List the locally installed overlays.
Return a list of installed overlays:
CLI Example:
salt '*' layman.list_local
salt.modules.layman.
sync
(overlay=u'ALL')¶Update the specified overlay. Use 'ALL' to synchronize all overlays. This is the default if no overlay is specified.
CLI Example:
salt '*' layman.sync
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2018.3.0