Manage cygwin packages.
Module file to accompany the cyg state.
salt.modules.cyg.
check_valid_package
(package, cyg_arch='x86_64', mirrors=None)¶Check if the package is valid on the given mirrors.
salt.modules.cyg.
install
(packages=None, cyg_arch='x86_64', mirrors=None)¶Install one or several packages.
CLI Example:
salt '*' cyg.install dos2unix
salt '*' cyg.install dos2unix mirrors=[{'http://mirror': 'http://url/to/public/key}]
salt.modules.cyg.
list
(package='', cyg_arch='x86_64')¶List locally installed packages.
CLI Example:
salt '*' cyg.list
salt.modules.cyg.
uninstall
(packages, cyg_arch='x86_64', mirrors=None)¶Uninstall one or several packages.
CLI Example:
salt '*' cyg.uninstall dos2unix
salt '*' cyg.uninstall dos2unix mirrors=[{'http://mirror': 'http://url/to/public/key}]
salt.modules.cyg.
update
(cyg_arch='x86_64', mirrors=None)¶Update all packages.
CLI Example:
salt '*' cyg.update
salt '*' cyg.update dos2unix mirrors=[{'http://mirror': 'http://url/to/public/key}]