Support Microsoft "OneGet" repositories on WIndows minions
Yep! I agree. Adding it to my list.
I wonder whether it would make sense at some point to add general WMF/DSC support to be able to transform SLS into DSC definitions. Does anyone have some deeper knowledge of WMF/DSC and could add some input here whether this is something to think about or not? I feel like SaltStack would otherwise replicate a lot of functionality which could be otherwise "easily" covered by making it possible to directly handle WMF/DSC definitions.
Oh, and isn't there already Chocolatey support in SaltStack which is now being used by OneGet as initial repository as well?
I've been considering something in between - the ability to define DSC states in Salt (in amongst native Salt states) and have them applied as well. This gives you the ability to leverage DSC states where there isn't a Salt equivalent.
Technically I think it is possible because this is what I think Chef did during the DSC introduction talk (http://channel9.msdn.com/Events/TechEd/NorthAmerica/2013/MDC-B302). That said, they haven't released that code yet as far as I know (and the talk was over a year ago). I think what they did was write out an MOF file (which is what DSC states written in PowerShell compile down to; it is a text-based format) and used WinRM to apply it.
Not sure about translating native Salt states into DSC states though. Also, DSC is only supported Windows 7/Windows Server 2008 R2 or later, and is only native to Windows 8.1 and Windows Server 2012 R2, so that might be an issue.
In any case, it is probably time someone started an issue for DSC because I've already side-tracked two issues talking about it :)
Also, DSC is only supported Windows 7/Windows Server 2008 R2 or later, and is only native to Windows 8.1 and Windows Server 2012 R2, so that might be an issue.
Given the fact, that Server 2003, XP etc. are EOL and Win7/Server 2008 R2 only needs the right package installed as prerequisite I'm not sure whether that's really a problem.
@UtahDave What is the official SaltStack position on EOL Win platforms?
I am trying to find out how strongly the salt community feel about which pkg manager for windows to adopt. salt-winrepo vs oneget vs MS PS DSC? If you have some comments or suggestions to take this forward, then please drop by #20245 and leave your feedback there.
Reading the information on OneGet, they have re-written the Chocolatey client as a plugin to OneGet.
I also think DSC Support is a good idea.
FYI, OneGet does indeed have a Chocolatey provider--It was a proof-of-concept prototype. I'm working with some community folks to leverage the 'new' C#-based Chocolatey, and turn that into "the" Chocolatey implementation for OneGet.
We also have a developer working on a DSC resource for OneGet; this should inherently support chocolatey when it arrives :)
http://www.hanselman.com/blog/AptGetForWindowsOneGetAndChocolateyOnWindows10.aspx
OneGet will have the same short comings, if installers do not follow the standard, then its hard to manage. I think that salt has a good start on a pkg manager for windows. But I see no issue in also supporting oneget. No reason why pkg can not have a provider= option which allows to have more than one package manager. e.g. Solaris had two package manager for backwards compatibility.
One thing with templates on github for salt pkg is they are all hardcode to pull off the internet, their needs to be a way in the template to replace the internet link with a local link, using a pillar, without changing the template
@damon-atkins regarding different package manager providers, see also my suggestions here: https://github.com/saltstack/salt/issues/20737#issuecomment-74849836
This is a nice to have for Nitrogen @twangboy - not a blocker.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.