scoop settings

Allow managing scoop.

scoop is only available for Windows.

pkgs

pkgs allow installing some scoop packages (cf github).

You need to specify the name of the packages to install.

A simple example, in the vscode-anywhere.sls file to ask to install the scoop python 3.8.2 package in the python3module:

vscode-anywhere:
    python3:
        enabled: True
        scoop:
            pkgs:
                opts:
                    global: {}
                    install: {}
                    update: {}
                    uninstall: {}
                python:
                    enabled: True
                    opts:
                        global: {}
                        install:
                            version: '3.8.2'
                        update: {}
                        uninstall: {}

enabled

True to enable, False to skip (default to False).

opts

opts is not mandatory but allows to pass extra args.

Extra args can be arguments described in the Saltstack scoop states or can be global Saltstack arguments.

Global packages settings

  • scoop:pkgs:opts:global: allow passing arguments to all scoop packages when installing, updating, or uninstalling a package

  • scoop:pkgs:opts:install: allow passing arguments to all scoop packages when installing a package (cf pkg_installed function)

  • scoop:pkgs:opts:update: allow passing arguments to all scoop packages when updating a package (cf pkg_latest function)

  • scoop:pkgs:opts:uninstall: allow passing arguments to all scoop packages when uninstalling a package (cf pkg_removed function)

Specific packages settings

  • scoop:pkgs:<mypkg>:opts:global: allow passing arguments to <mypkg> scoop package when installing, updating, or uninstalling the package

  • scoop:pkgs:<mypkg>:opts:install: allow passing arguments to <mypkg> scoop packages when installing the package (cf pkg_installed function)

  • scoop:pkgs:<mypkg>:opts:update: allow passing arguments to <mypkg> scoop packages when updating the package (cf pkg_latest function)

  • scoop:pkgs:<mypkg>:opts:uninstall: allow passing arguments to <mypkg> scoop packages when uninstalling the package (cf pkg_removed function)

Last updated