Class: Facts::Solaris::Ldom
- Inherits:
-
Object
- Object
- Facts::Solaris::Ldom
- Defined in:
- lib/facter/facts/solaris/ldom.rb
Constant Summary collapse
- FACT_NAME =
'ldom'
Instance Method Summary collapse
- #call_the_resolver ⇒ Object
-
#initialize ⇒ Ldom
constructor
A new instance of Ldom.
- #resolve(key) ⇒ Object
Constructor Details
Instance Method Details
#call_the_resolver ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/facter/facts/solaris/ldom.rb', line 12 def call_the_resolver fact_value = { domainchassis: resolve(:chassis_serial), domaincontrol: resolve(:control_domain), domainname: resolve(:domain_name), domainrole: { control: resolve(:role_control), impl: resolve(:role_impl), io: resolve(:role_io), root: resolve(:role_root), service: resolve(:role_service) }, domainuuid: resolve(:domain_uuid) } Facter::ResolvedFact.new(FACT_NAME, fact_value) end |