Sha256: ac433eaf366731190caedde689556071e9b1b1dda625704bb350fbea50174465
Contents?: true
Size: 423 Bytes
Versions: 16
Compression:
Stored size: 423 Bytes
Contents
Facter.add(:foo, :type => :aggregate) do chunk :first do ['foo'] end chunk :second, :require => :first do |first| raise 'nope' unless first == ['foo'] ['bar'] + first end chunk :third, :require => [:first, :second] do |first, second| raise 'nope' unless first == ['foo'] raise 'nope' unless second == ['bar', 'foo'] ['baz'] + first + second end end
Version data entries
16 entries across 16 versions & 2 rubygems