[FEATURE REQUEST] new salt state for scoop (salt.states.scoop) #60939
Labels
Feature
new functionality including changes to functionality and code refactors, etc.
Milestone
I noticed that there is a chocolatey module, which works well.
However, I think a module for scoop would be useful for some users.
In contrast to chocolatey, scoop installs software inside the users HOME directory (e.g. C:\Users\myuser\scoop\apps).
This way, software can be installed per-user, without admin privileges, and without adding values to the system wide PATH.
Chocolatey uses a NuGet repository format, whereas scoop uses a simple JSON format and git repositories.
Thus, I can imagine that adding a custom repo to scoop is easier and there might be more niche apps available for scoop (but I did not check this)
Describe the solution you'd like
A new module
salt.states.scoop
, which canSet-ExecutionPolicy RemoteSigned -scope CurrentUser
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop bucket add extras
scoop install git
scoop upgrade git
scoop uninstall git
Describe alternatives you've considered
As a workaround, one can run scoop commands via cmd.run.
However, this does not provide information to the salt system, e.g. which minions changed during execution.
The text was updated successfully, but these errors were encountered: