onering-client 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/onering.rb +1 -1
- data/lib/onering/util.rb +1 -3
- metadata +1 -1
data/lib/onering.rb
CHANGED
data/lib/onering/util.rb
CHANGED
|
@@ -98,9 +98,7 @@ module Onering
|
|
|
98
98
|
fact_value = Facter.value(name)
|
|
99
99
|
|
|
100
100
|
# short circuit nil responses
|
|
101
|
-
if fact_value.nil?
|
|
102
|
-
return reporter.report().get(name, default)
|
|
103
|
-
end
|
|
101
|
+
return default if fact_value.nil?
|
|
104
102
|
|
|
105
103
|
# if we are asking for a nested object...
|
|
106
104
|
if name.include?('.')
|