lib/hieracles/hiera.rb in hieracles-0.1.5 vs lib/hieracles/hiera.rb in hieracles-0.1.6
- old
+ new
@@ -24,7 +24,16 @@
def params
hierarchy.join(',').scan(/%\{(?:::)?([^\}]*)\}/).flatten.uniq
end
+ def merge_behavior
+ case @loaded[:merge_behavior]
+ when :deep,'deep',:deeper,'deeper'
+ @loaded[:merge_behavior].to_sym
+ else
+ :native
+ end
+ end
+
end
end