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.
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.
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.
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.
CLI Example:
rsync:
cyg.updated:
- mirrors:
- http://mirror/without/public/key: ""
- http://mirror/with/public/key: http://url/of/public/key