Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias identifier Import alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str FunctionDef arguments args defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Str orelse If CompareIn SubscriptLoad NameLoad Index Str TupleLoad Str Str body Return TupleLoad NameLoad Str Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore GeneratorExp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str NameLoad body Return SubscriptLoad NameLoad Index Str If CompareGtE Call NameLoad Call NameLoad Call NameLoad Str body Assign NameStore ListLoad Str orelse Assign NameStore ListLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Return SubscriptLoad NameLoad Index Str Assign NameStore ListLoad Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str If UnaryOpNot NameLoad body For NameStore NameLoad body If Call SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If CompareIn Str NameLoad body Return SubscriptLoad NameLoad Index Str Assign NameStore ListLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Return Call AttributeLoad Str attr NameLoad Assign NameStore Dict TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Str Str Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str If UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad body If CompareIn TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore ListLoad NameLoad Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore ListLoad NameLoad Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body If Call AttributeLoad NameLoad attr Str body Return NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareGtE Call NameLoad Call NameLoad Call NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If BoolOpAnd CompareNotIn Str NameLoad CompareNotIn Str NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str Str Str NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad Str NameLoad Str NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str decorator_list
N/A N/A 
A dead simple module wrapping calls to the Chocolatey package manager
(http://chocolatey.org)

.. versionadded:: 2014.1.0
 __future__ absolute_import N/A logging N/A os.path N/A re N/A tempfile distutils.version LooseVersion _LooseVersion N/A salt.utils salt.exceptions CommandExecutionError CommandNotFoundError N/A log N/A N/A logging getLogger __name__ N/A __func_alias__ N/A list_ list __virtual__ N/A N/A N/A N/A N/A 
    Confirm this module is on a Windows system running Vista or later.

    While it is possible to make Chocolatey run under XP and Server 2003 with
    an awful lot of hassle (e.g. SSL is completely broken), the PowerShell shim
    for simulating UAC forces a GUI prompt, and is not compatible with
    salt-minion running as SYSTEM.
     N/A N/A N/A N/A N/A salt utils is_windows N/A N/A N/A False Cannot load module chocolatey: Chocolatey requires Windows N/A N/A N/A N/A __grains__ N/A osrelease N/A XP 2003Server N/A N/A N/A False Cannot load module chocolatey: Chocolatey requires Windows Vista or later N/A chocolatey N/A _clear_context N/A N/A context N/A N/A N/A 
    Clear variables stored in __context__. Run this function when a new version
    of chocolatey is installed.
     N/A var N/A x N/A x __context__ N/A N/A x startswith chocolatey. N/A N/A N/A N/A context pop var N/A _yes N/A N/A context N/A N/A N/A 
    Returns ['--yes'] if on v0.9.9.0 or later, otherwise returns an empty list
     N/A N/A chocolatey._yes __context__ N/A N/A N/A context N/A chocolatey._yes N/A N/A N/A _LooseVersion N/A chocolatey_version N/A _LooseVersion 0.9.9 N/A N/A answer N/A --yes N/A N/A answer N/A N/A N/A context N/A chocolatey._yes answer N/A answer N/A _find_chocolatey N/A N/A context salt N/A N/A N/A 
    Returns the full path to chocolatey.bat on the host.
     N/A N/A chocolatey._path context N/A N/A N/A context N/A chocolatey._path N/A choc_defaults N/A C:\Chocolatey\bin\chocolatey.bat C:\ProgramData\Chocolatey\bin\chocolatey.exe N/A choc_path N/A N/A salt N/A cmd.which chocolatey.exe N/A N/A choc_path N/A N/A choc_dir choc_defaults N/A N/A N/A N/A salt N/A cmd.has_exec choc_dir N/A N/A choc_path choc_dir N/A N/A choc_path N/A N/A err Chocolatey not installed. Use chocolatey.bootstrap to install the Chocolatey package manager. N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A context N/A chocolatey._path choc_path N/A choc_path N/A chocolatey_version N/A N/A N/A N/A N/A 
    Returns the version of Chocolatey installed on the minion.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.chocolatey_version
     N/A N/A chocolatey._version __context__ N/A N/A N/A __context__ N/A chocolatey._version N/A cmd N/A N/A _find_chocolatey __context__ __salt__ N/A N/A N/A cmd append -v N/A out N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A N/A __context__ N/A chocolatey._version out N/A N/A __context__ N/A chocolatey._version N/A bootstrap N/A N/A force N/A False N/A N/A 
    Download and install the latest version of the Chocolatey package manager
    via the official bootstrap.

    Chocolatey requires Windows PowerShell and the .NET v4.0 runtime. Depending
    on the host's version of Windows, chocolatey.bootstrap will attempt to
    ensure these prerequisites are met by downloading and executing the
    appropriate installers from Microsoft.

    Note that if PowerShell is installed, you may have to restart the host
    machine for Chocolatey to work.

    force
        Run the bootstrap process even if Chocolatey is found in the path.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.bootstrap
        salt '*' chocolatey.bootstrap force=True
     N/A N/A N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A N/A N/A CommandExecutionError N/A N/A choc_path None N/A N/A choc_path N/A force N/A N/A N/A N/A Chocolatey found at {0} format choc_path N/A ps_downloads N/A N/A Vista x86 N/A Vista AMD64 N/A 2008Server x86 N/A 2008Server AMD64 http://download.microsoft.com/download/A/7/5/A75BC017-63CE-47D6-8FA4-AFB5C21BAC54/Windows6.0-KB968930-x86.msu http://download.microsoft.com/download/3/C/8/3C8CF51E-1D9D-4DAA-AAEA-5C48D1CD055C/Windows6.0-KB968930-x64.msu http://download.microsoft.com/download/F/9/E/F9EF6ACB-2BA8-4845-9C10-85FC4A69B207/Windows6.0-KB968930-x86.msu http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu N/A net4_url http://download.microsoft.com/download/1/B/E/1BE39E79-7E39-46A3-96FF-047F95396215/dotNetFx40_Full_setup.exe N/A temp_dir N/A N/A tempfile gettempdir N/A ps_path C:\Windows\SYSTEM32\WindowsPowerShell\v1.0\powershell.exe N/A N/A N/A N/A __salt__ N/A cmd.has_exec ps_path N/A N/A N/A N/A N/A __grains__ N/A osrelease N/A __grains__ N/A cpuarch ps_downloads N/A N/A url N/A ps_downloads N/A N/A N/A __grains__ N/A osrelease N/A __grains__ N/A cpuarch N/A dest N/A N/A N/A os path join temp_dir powershell.exe N/A N/A N/A __salt__ N/A cp.get_url url dest N/A cmd N/A dest /quiet /norestart N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err Installing Windows PowerShell failed. Please run the installer GUI on the host to get a more specific reason. N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A err Windows PowerShell not found N/A N/A N/A log error err N/A N/A CommandNotFoundError err N/A dest N/A N/A N/A os path join temp_dir dotnet4.exe N/A N/A N/A __salt__ N/A cp.get_url net4_url dest N/A cmd N/A dest /q /norestart N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err Installing .NET v4.0 failed. Please run the installer GUI on the host to get a more specific reason. N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A cmd N/A N/A {0} -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin format ps_path N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell True N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Bootstrapping Chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A list_ N/A N/A narrow all_versions pre_versions source local_only N/A None False False None False N/A N/A 
    Instructs Chocolatey to pull a vague package list from the repository.

    narrow
        Term used to narrow down results. Searches against name/description/tag.

    all_versions
        Display all available package versions in results. Defaults to False.

    pre_versions
        Display pre-release packages in results. Defaults to False.

    source
        Chocolatey repository (directory, share or remote URL feed) the package
        comes from. Defaults to the official Chocolatey feed.

    local_only
        Display packages only installed locally

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.list <narrow>
        salt '*' chocolatey.list <narrow> all_versions=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path list N/A narrow N/A N/A N/A N/A cmd append narrow N/A N/A N/A N/A salt utils is_true all_versions N/A N/A N/A N/A cmd append -AllVersions N/A N/A N/A N/A salt utils is_true pre_versions N/A N/A N/A N/A cmd append -Prerelease N/A source N/A N/A N/A N/A cmd extend N/A -Source source N/A local_only N/A N/A N/A N/A cmd extend N/A -localonly N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A ret N/A N/A pkg_re N/A N/A re compile (\S+)\s+(\S+) N/A line N/A N/A N/A result N/A stdout split N/A N/A N/A N/A line startswith No packages N/A N/A ret N/A N/A name ver N/A N/A pkg_re findall line N/A N/A N/A name ret N/A N/A N/A ret N/A name N/A N/A N/A N/A N/A ret N/A name append ver N/A ret N/A list_webpi N/A N/A N/A N/A N/A 
    Instructs Chocolatey to pull a full package list from the Microsoft Web PI
    repository.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.list_webpi
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path list -Source webpi N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A list_windowsfeatures N/A N/A N/A N/A N/A 
    Instructs Chocolatey to pull a full package list from the Windows Features
    list, via the Deployment Image Servicing and Management tool.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.list_windowsfeatures
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path list -Source windowsfeatures N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install N/A N/A name version source force pre_versions install_args override_args force_x86 package_args N/A None None False False None False False None N/A N/A 
    Instructs Chocolatey to install a package.

    name
        The name of the package to be installed. Only accepts a single argument.

    version
        Install a specific version of the package. Defaults to latest version.

    source
        Chocolatey repository (directory, share or remote URL feed) the package
        comes from. Defaults to the official Chocolatey feed.

    force
        Reinstall the current version of an existing package.

    pre_versions
        Include pre-release packages. Defaults to False.

    install_args
        A list of install arguments you want to pass to the installation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original install arguments (for the native installer)
         in the package and use your own. When this is set to False install_args will be appended to the end of the
         default arguments

    force_x86
        Force x86 (32bit) installation on 64 bit systems. Defaults to false.

    package_args
        A list of arguments you want to pass to the package

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install <package name>
        salt '*' chocolatey.install <package name> version=<package version>
        salt '*' chocolatey.install <package name> install_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path install name N/A version N/A N/A N/A N/A cmd extend N/A -Version version N/A source N/A N/A N/A N/A cmd extend N/A -Source source N/A N/A N/A N/A salt utils is_true force N/A N/A N/A N/A cmd extend N/A -Force N/A N/A N/A N/A salt utils is_true pre_versions N/A N/A N/A N/A cmd extend N/A -PreRelease N/A install_args N/A N/A N/A N/A cmd extend N/A -InstallArguments install_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A force_x86 N/A N/A N/A N/A cmd extend N/A -forcex86 N/A package_args N/A N/A N/A N/A cmd extend N/A -PackageParameters package_args N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A N/A name chocolatey N/A N/A N/A _clear_context __context__ N/A N/A result N/A stdout N/A install_cygwin N/A N/A name install_args override_args N/A None False N/A N/A 
    Instructs Chocolatey to install a package via Cygwin.

    name
        The name of the package to be installed. Only accepts a single argument.

    install_args
        A list of install arguments you want to pass to the installation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original install arguments (for the native installer)
         in the package and use your own. When this is set to False install_args will be appended to the end of the
         default arguments

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_cygwin <package name>
        salt '*' chocolatey.install_cygwin <package name> install_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path cygwin name N/A install_args N/A N/A N/A N/A cmd extend N/A -InstallArguments install_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install_gem N/A N/A name version install_args override_args N/A None None False N/A N/A 
    Instructs Chocolatey to install a package via Ruby's Gems.

    name
        The name of the package to be installed. Only accepts a single argument.

    version
        Install a specific version of the package. Defaults to latest version
        available.

    install_args
        A list of install arguments you want to pass to the installation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original install arguments (for the native installer)
         in the package and use your own. When this is set to False install_args will be appended to the end of the
         default arguments


    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_gem <package name>
        salt '*' chocolatey.install_gem <package name> version=<package version>
        salt '*' chocolatey.install_gem <package name> install_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path gem name N/A version N/A N/A N/A N/A cmd extend N/A -Version version N/A install_args N/A N/A N/A N/A cmd extend N/A -InstallArguments install_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install_missing N/A N/A name version source N/A None None N/A N/A 
    Instructs Chocolatey to install a package if it doesn't already exist.

    .. versionchanged:: 2014.7.0
        If the minion has Chocolatey >= 0.9.8.24 installed, this function calls
        :mod:`chocolatey.install <salt.modules.chocolatey.install>` instead, as
        ``installmissing`` is deprecated as of that version and will be removed
        in Chocolatey 1.0.

    name
        The name of the package to be installed. Only accepts a single argument.

    version
        Install a specific version of the package. Defaults to latest version
        available.

    source
        Chocolatey repository (directory, share or remote URL feed) the package
        comes from. Defaults to the official Chocolatey feed.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_missing <package name>
        salt '*' chocolatey.install_missing <package name> version=<package version>
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A N/A N/A _LooseVersion N/A chocolatey_version N/A _LooseVersion 0.9.8.24 N/A N/A N/A N/A log warning installmissing is deprecated, using install N/A N/A install name version version N/A cmd N/A choc_path installmissing name N/A version N/A N/A N/A N/A cmd extend N/A -Version version N/A source N/A N/A N/A N/A cmd extend N/A -Source source N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install_python N/A N/A name version install_args override_args N/A None None False N/A N/A 
    Instructs Chocolatey to install a package via Python's easy_install.

    name
        The name of the package to be installed. Only accepts a single argument.

    version
        Install a specific version of the package. Defaults to latest version
        available.

    install_args
        A list of install arguments you want to pass to the installation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original install arguments (for the native installer)
         in the package and use your own. When this is set to False install_args will be appended to the end of the
         default arguments

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_python <package name>
        salt '*' chocolatey.install_python <package name> version=<package version>
        salt '*' chocolatey.install_python <package name> install_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path python name N/A version N/A N/A N/A N/A cmd extend N/A -Version version N/A install_args N/A N/A N/A N/A cmd extend N/A -InstallArguments install_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install_windowsfeatures N/A N/A name N/A N/A N/A 
    Instructs Chocolatey to install a Windows Feature via the Deployment Image
    Servicing and Management tool.

    name
        The name of the feature to be installed. Only accepts a single argument.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_windowsfeatures <package name>
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path windowsfeatures name N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A install_webpi N/A N/A name install_args override_args N/A None False N/A N/A 
    Instructs Chocolatey to install a package via the Microsoft Web PI service.

    name
        The name of the package to be installed. Only accepts a single argument.

    install_args
        A list of install arguments you want to pass to the installation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original install arguments (for the native installer)
         in the package and use your own. When this is set to False install_args will be appended to the end of the
         default arguments

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.install_webpi <package name>
        salt '*' chocolatey.install_webpi <package name> install_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path webpi name N/A install_args N/A N/A N/A N/A cmd extend N/A -InstallArguments install_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A uninstall N/A N/A name version uninstall_args override_args N/A None None False N/A N/A 
    Instructs Chocolatey to uninstall a package.

    name
        The name of the package to be uninstalled. Only accepts a single argument.

    version
        Uninstalls a specific version of the package. Defaults to latest version
        installed.

    uninstall_args
        A list of uninstall arguments you want to pass to the uninstallation process
        i.e product key or feature list

    override_args
        Set to true if you want to override the original uninstall arguments (for the native uninstaller)
         in the package and use your own. When this is set to False uninstall_args will be appended to the end of the
         default arguments

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.uninstall <package name>
        salt '*' chocolatey.uninstall <package name> version=<package version>
        salt '*' chocolatey.uninstall <package name> version=<package version> uninstall_args=<args> override_args=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path uninstall name N/A version N/A N/A N/A N/A cmd extend N/A -Version version N/A uninstall_args N/A N/A N/A N/A cmd extend N/A -UninstallArguments uninstall_args N/A override_args N/A N/A N/A N/A cmd extend N/A -OverrideArguments N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A update N/A N/A name source pre_versions N/A None False N/A N/A 
    Instructs Chocolatey to update packages on the system.

    name
        The name of the package to update, or "all" to update everything
        installed on the system.

    source
        Chocolatey repository (directory, share or remote URL feed) the package
        comes from. Defaults to the official Chocolatey feed.

    pre_versions
        Include pre-release packages in comparison. Defaults to False.

    CLI Example:

    .. code-block:: bash

        salt "*" chocolatey.update all
        salt "*" chocolatey.update <package name> pre_versions=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path update name N/A source N/A N/A N/A N/A cmd extend N/A -Source source N/A N/A N/A N/A salt utils is_true pre_versions N/A N/A N/A N/A cmd append -PreRelease N/A N/A N/A cmd extend N/A _yes __context__ N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A version N/A N/A name check_remote source pre_versions N/A False None False N/A N/A 
    Instructs Chocolatey to check an installed package version, and optionally
    compare it to one available from a remote feed.

    name
        The name of the package to check.

    check_remote
        Get the version number of the latest package from the remote feed.
        Defaults to False.

    source
        Chocolatey repository (directory, share or remote URL feed) the package
        comes from. Defaults to the official Chocolatey feed.

    pre_versions
        Include pre-release packages in comparison. Defaults to False.

    CLI Example:

    .. code-block:: bash

        salt "*" chocolatey.version <package name>
        salt "*" chocolatey.version <package name> check_remote=True
     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A N/A choc_path N/A N/A err Chocolatey not installed. Use chocolatey.bootstrap to install the Chocolatey package manager. N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A cmd N/A choc_path list name N/A N/A N/A N/A N/A salt utils is_true check_remote N/A N/A N/A N/A cmd append -LocalOnly N/A N/A N/A N/A salt utils is_true pre_versions N/A N/A N/A N/A cmd append -Prerelease N/A source N/A N/A N/A N/A cmd extend N/A -Source source N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A ret N/A N/A res N/A N/A N/A result N/A stdout split N/A ver_re N/A N/A re compile (\S+)\s+(.+) N/A line res N/A N/A N/A N/A packages found line N/A packages installed line N/A N/A N/A name ver N/A N/A ver_re findall line N/A N/A N/A ret N/A name ver N/A ret N/A add_source N/A N/A name source_location username password N/A None None N/A N/A 
    Instructs Chocolatey to add a source.

    name
        The name of the source to be added as a chocolatey repository.

    source
        Location of the source you want to work with.

    username
        Provide username for chocolatey sources that need authentification credentials.

    password
        Provide password for chocolatey sources that need authentification credentials.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.add_source <source name> <source_location>
        salt '*' chocolatey.add_source <source name> <source_location> user=<user> password=<password>

     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path sources Add -Name name -Source source_location N/A username N/A N/A N/A N/A cmd extend N/A -u username N/A password N/A N/A N/A N/A cmd extend N/A -p password N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A _change_source_state N/A N/A name state N/A N/A N/A 
    Instructs Chocolatey to change the state of a source.

    name
        Name of the repository to affect.

    state
        State in which you want the chocolatey repository.

     N/A choc_path N/A _find_chocolatey __context__ __salt__ N/A cmd N/A choc_path source state -Name name N/A result N/A N/A __salt__ N/A cmd.run_all cmd python_shell False N/A N/A N/A result N/A retcode 0 N/A N/A err N/A N/A Running chocolatey failed: {0} format N/A result N/A stderr N/A N/A N/A log error err N/A N/A CommandExecutionError err N/A N/A result N/A stdout N/A enable_source N/A N/A name N/A N/A N/A 
    Instructs Chocolatey to enable a source.

    name
        Name of the source repository to enable.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.enable_source <name>

     N/A N/A _change_source_state name enable N/A disable_source N/A N/A name N/A N/A N/A 
    Instructs Chocolatey to disable a source.

    name
        Name of the source repository to disable.

    CLI Example:

    .. code-block:: bash

        salt '*' chocolatey.disable_source <name>
     N/A N/A _change_source_state name disable N/A