lib/facts/solaris/os/family.rb in facter-4.0.8.pre vs lib/facts/solaris/os/family.rb in facter-4.0.9.pre
- old
+ new
@@ -1,14 +1,16 @@
# frozen_string_literal: true
-module Facter
+module Facts
module Solaris
- class OsFamily
- FACT_NAME = 'os.family'
- ALIASES = 'osfamily'
+ module Os
+ class Family
+ FACT_NAME = 'os.family'
+ ALIASES = 'osfamily'
- def call_the_resolver
- [ResolvedFact.new(FACT_NAME, 'Solaris'), ResolvedFact.new(ALIASES, 'Solaris', :legacy)]
+ def call_the_resolver
+ [Facter::ResolvedFact.new(FACT_NAME, 'Solaris'), Facter::ResolvedFact.new(ALIASES, 'Solaris', :legacy)]
+ end
end
end
end
end