Support for Layman
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 范例:
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 范例:
salt '*' layman.delete <overlay name>
salt.modules.layman.
list_all
()¶List all overlays, including remote ones.
Return a list of available overlays:
CLI 范例:
salt '*' layman.list_all
salt.modules.layman.
list_local
()¶List the locally installed overlays.
Return a list of installed overlays:
CLI 范例:
salt '*' layman.list_local
salt.modules.layman.
sync
(overlay='ALL')¶Update the specified overlay. Use 'ALL' to synchronize all overlays. This is the default if no overlay is specified.
CLI 范例:
salt '*' layman.sync