Skip to content

Should we complete windows ohai files? #203

@Annih

Description

@Annih

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:

Name Version Windows Server Server Core
2008 6.0.6001 ✖️
7/2008R2 6.1.7600 ✔️ ✔️
8/2012 6.2.9200 ✔️
8.1/2012R2 6.3.9600 ✔️ ✔️
10 v1507 (TH1) 10.0.10240 ✖️ ✖️
10 v1511 (TH2) 10.0.10586 ✖️ ✖️
10/2016 v1607 (RS1) 10.0.14393 ✔️
10 v1703 (RS2) 10.0.15063 ✔️ ✖️ ✖️
10/2016 v1709 (RS3) 10.0.16999 ✖️

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions