Manage cygwin packages.
Module file to accompany the cyg state.
Check if the package is valid on the given mirrors.
Parameters: |
|
---|
Returns (bool): True if Valid, otherwise False
CLI Example:
salt '*' cyg.check_valid_package <package name>
Install one or several packages.
CLI Example:
salt '*' cyg.install dos2unix salt '*' cyg.install dos2unix mirrors="[{'http://mirror': 'http://url/to/public/key}]'
List locally installed packages.
CLI Example:
salt '*' cyg.list
Uninstall one or several packages.
CLI Example:
salt '*' cyg.uninstall dos2unix salt '*' cyg.uninstall dos2unix mirrors="[{'http://mirror': 'http://url/to/public/key}]"
Update all packages.
CLI Example:
salt '*' cyg.update salt '*' cyg.update dos2unix mirrors="[{'http://mirror': 'http://url/to/public/key}]"
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cyg.html