Commit fd9df5f4 by Michael DeHaan

Merge pull request #6372 from mriedelumab/devel

Returning 'NA' when no virtualization found
parents 247d688c 5875d19f
...@@ -2188,6 +2188,13 @@ class LinuxVirtual(Virtual): ...@@ -2188,6 +2188,13 @@ class LinuxVirtual(Virtual):
self.facts['virtualization_role'] = 'host' self.facts['virtualization_role'] = 'host'
return return
# If none of the above matches, return 'NA' for virtualization_type
# and virtualization_role. This allows for proper grouping.
self.facts['virtualization_type'] = 'NA'
self.facts['virtualization_role'] = 'NA'
return
class HPUXVirtual(Virtual): class HPUXVirtual(Virtual):
""" """
This is a HP-UX specific subclass of Virtual. It defines This is a HP-UX specific subclass of Virtual. It defines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment