Sha256: 91fde5214b2f2b98371077a557eb38fe3b45b5bfce993ddcdfc1077d25b616a8

Contents?: true

Size: 332 Bytes

Versions: 168

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

# Merges two ResultSets into a new ResultSet
Puppet::Functions.create_function(:'canary::merge') do
  dispatch :merge_results do
    param 'ResultSet', :merger
    param 'ResultSet', :mergee
  end

  def merge_results(merger, mergee)
    Bolt::ResultSet.new(merger.results + mergee.results)
  end
end

Version data entries

168 entries across 168 versions & 1 rubygems

Version Path
bolt-3.29.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.28.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.27.4 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.27.2 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.27.1 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.26.2 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.26.1 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.25.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.24.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.23.1 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.23.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.22.1 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.22.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.21.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.20.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.19.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.18.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.17.0 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.16.1 modules/canary/lib/puppet/functions/canary/merge.rb
bolt-3.16.0 modules/canary/lib/puppet/functions/canary/merge.rb