Installation of Cygwin packages.
A state module to manage cygwin packages. Packages can be installed or removed.
dos2unix:
cyg.installed
salt.states.cyg.
DictDiffer
(current_dict, past_dict)¶Calculate the difference between two dictionaries.
items added
items removed
keys same in both but changed values
keys same in both and unchanged values
added
()¶Return a set of additions to past_dict.
changed
()¶Return a set of the keys with changed values.
removed
()¶Return a set of things removed from past_dict.
same
()¶True if the two dicts are the same.
unchanged
()¶Return a set of the keys with unchanged values.
salt.states.cyg.
installed
(name, cyg_arch='x86_64', mirrors=None)¶Make sure that a package is installed.
The name of the package to install
The cygwin architecture to install the package into. Current options are x86 and x86_64
List of mirrors to check. None will use a default mirror (kernel.org)
CLI Example:
rsync:
cyg.installed:
- mirrors:
- http://mirror/without/public/key: ""
- http://mirror/with/public/key: http://url/of/public/key
salt.states.cyg.
removed
(name, cyg_arch='x86_64', mirrors=None)¶Make sure that a package is not installed.
The name of the package to uninstall
The cygwin architecture to remove the package from. Current options are x86 and x86_64
List of mirrors to check. None will use a default mirror (kernel.org)
CLI Example:
rsync:
cyg.removed:
- mirrors:
- http://mirror/without/public/key: ""
- http://mirror/with/public/key: http://url/of/public/key
salt.states.cyg.
updated
(name=None, cyg_arch='x86_64', mirrors=None)¶Make sure all packages are up to date.
No affect, salt fails poorly without the arg available
The cygwin architecture to update. Current options are x86 and x86_64
List of mirrors to check. None will use a default mirror (kernel.org)
CLI Example:
rsync:
cyg.updated:
- mirrors:
- http://mirror/without/public/key: ""
- http://mirror/with/public/key: http://url/of/public/key