Jira (FACT-1891) Modify "cloud" fact to identify Azure on Windows

0 views
Skip to first unread message

Scott McClellan (JIRA)

unread,
Oct 17, 2018, 6:12:07 PM10/17/18
to puppe...@googlegroups.com
Scott McClellan created an issue
 
Facter / New Feature FACT-1891
Modify "cloud" fact to identify Azure on Windows
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2018/10/17 3:11 PM
Fix Versions: FACT 3.6.0
Priority: Normal Normal
Reporter: Scott McClellan

We should update the "cloud" fact to determine whether or not a VM is running in Azure.

Fact structure:

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

*How to calculate whether a machine is running in Azure*

 

Windows

$systemEnclosure = Get-WmiObject -class Win32_SystemEnclosure -namespace root\CIMV2
 
$computerSystemProduct = Get-WmiObject -class Win32_ComputerSystemProduct -namespace root\CIMV2
 
'ChassisAssetTag:       "{0}"' -f $systemEnclosure.SMBIOSAssetTag

Expected Results

"7783-7084-3265-9085-8269-3286-77"

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 8:43:03 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages