Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1847

Implement "cloud" fact Azure identification for Windows platform

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      NW - 2021-03-17
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Implement `cloud.provider` fact for Azure identification on Linux and Windows platforms.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The cloud fact should report Azure on the Windows platform, just as it does on Linux.

      "cloud": {
        "provider": "azure"
      }
      

      (Reported on Puppet Community Slack that this still doesn't work on Windows.)

       

      Linux support is added at https://github.com/puppetlabs/facter/blob/fc6036de9b4159a5f979d6c0216d20d86437f930/lib/src/facts/linux/virtualization_resolver.cc#L32-L50 as part of FACT-1441 / https://github.com/puppetlabs/facter/commit/75b5e2d81ccc5cb6f2cfcf7c6d92678a668fdbde

      However the equivalent Windows code was never added to perform the same check.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gabriel.nagy Gabriel Nagy
              Reporter:
              reid Reid Vandewiele
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support