scoop settings

Allow managing scooparrow-up-right.

circle-exclamation

pkgs

pkgs allow installing some scoop packages (cf githubarrow-up-right).

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 packagearrow-up-right 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 statesarrow-up-right or can be global Saltstack argumentsarrow-up-right.

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_installedarrow-up-right function)

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

  • scoop:pkgs:opts:uninstall: allow passing arguments to all scoop packages when uninstalling a package (cf pkg_removedarrow-up-right 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_installedarrow-up-right function)

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

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

Last updated

Was this helpful?