-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we complete windows ohai files? #203
Comments
We don't support Chef on 32-bit Windows so adding it here seems a bit pointless. Not sure what you mean by "Core x64". |
Wow thanks @coderanger for looking at this issue, I almost forgot I created it. By Starting with Windows Server 2016, Microsoft introduced the With Windows Server 2016 RS3, Microsoft kept the I'm going to update my original issue message to take your feedback into account. |
That would all depend on how Ohai deals with Windows Nano and Server Core, I would have assumed that was a new platform, not a version on an existing one. I don't think we have Nano-compatible installers for Chef, so utility there is probably pretty minimal but whatever data Ohai produces we would be happy to add. |
We could consider
|
That discussion is for Ohai, not here. Whatever Ohai does, Fauxhai will follow. |
Now that I updated the list of available Windows versions, I think my suggested naming convention is obsolete 😄
|
Again, platform and platform version naming is not up to Fauxhai. We match the output of Ohai for the most part. You will have to take it up over there. |
You miss understood me, I'm no talking about changing anything in Ohai values. I want to setup a naming convention in Fauxhai to easily select the desired and precise platform data in a coherent way. For instance I would still use the windows platform, but maybe I should use Server-2016-RS1 as desired Are my intentions clearer? |
We don't really have the resources to commit to maintaining more dumps than we already have. If you need more specific data, it's probably something that should be in your unit tests themselves. |
Ok that was my original question. Is it interesting for Chef and the community that we provide all dumps? If some of the missing dumps were provided, would they be accepted? |
@Annih We could certainly dump more versions. We have a ton of Linux dumps because for a week I installed every single one of those and ran fauxhai on it. It took a REALLY long time, but it's orders of magnitude faster than installing Windows. I dumped several versions of Windows, but it's certainly not all there. I'll take a look at what Chef / Microsoft supports and see if there's anywhere we could fill in some gaps. We won't be dumping Windows 2008, or Windows 8 though since those aren't supported platforms. We should make sure we have the latest Windows 10 though and we should probably version it on the build numbers since MS has gone to a bit of a rolling release model now. |
Hello,
TL;DR: Do you think it would be usefull to have more specific windows ohais (i386, x64, CORE)? - could be extended to other platforms
I'm currently adding test to one of my cookbooks, and wanted to validate them using most of the windows fauxhai already available. Doing so I encounter a small issue regarding the machine architecture... sometimes I need to test theoric behavior on specific windows "setup" - 32/64bit, CORE.
I also faced the absence of older versions of windows e.g. 7 or Vista/Server 2008.
It's feasible to take one existing fauxhai and transform it to another version by overriding specifics attributes, but it's adding complexity to the tests.
Here is an updated list of possible fauxhai files - bold for already existing versions:
Some of the windows version I listed are old, I first chose to start with 2003R2 generation because fauxhai already support it, but hey 2003R2 is not supported by chef :)
Current fauxhai represents 7 / 19 possibilities, but maybe we don't need to support all of them - I already skip the itanium arch :)
If this issue gathers enough interest, I would be able to provide most of the missing fauxhai files; then we should also define a naming convention e.g. <version>-<arch>[-CORE]
So for people who read everything, what do you think?
cc: @aboten
Update1: removed 32bits version as they are not supported by Chef
Update2: added Windows 10 & Server 2016 versions
The text was updated successfully, but these errors were encountered: