salt.states.cyg
Installation of Cygwin packages.
A state module to manage cygwin packages. Packages can be installed or removed.
dos2unix: cyg.installed
- class
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.
-
Make sure that a package is installed.
- name
-
The name of the package to install
- cyg_archx86_64
-
The cygwin architecture to install the package into. Current options are x86 and x86_64
- mirrorsNone
-
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.installed(name, cyg_arch='x86_64', mirrors=None)
-
Make sure that a package is not installed.
- name
-
The name of the package to uninstall
- cyg_archx86_64
-
The cygwin architecture to remove the package from. Current options are x86 and x86_64
- mirrorsNone
-
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.removed(name, cyg_arch='x86_64', mirrors=None)
-
Make sure all packages are up to date.
- nameNone
-
No affect, salt fails poorly without the arg available
- cyg_archx86_64
-
The cygwin architecture to update. Current options are x86 and x86_64
- mirrorsNone
-
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
salt.states.cyg.updated(name=None, cyg_arch='x86_64', mirrors=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.cyg.html