lib/itamae/node.rb in itamae-1.1.3 vs lib/itamae/node.rb in itamae-1.1.4
- old
+ new
@@ -15,10 +15,10 @@
def [](key)
val = super(key)
if val.nil?
begin
val = host_inventory[key]
- rescue NotImplementedError
+ rescue NotImplementedError, NameError
val = nil
end
end
val
end