modules/aggregate/lib/puppet/functions/aggregate/count.rb in bolt-0.17.2 vs modules/aggregate/lib/puppet/functions/aggregate/count.rb in bolt-0.18.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + # Aggregates the key/value pairs in the results of a ResultSet into a hash # mapping the keys to a hash of each distinct value and how many nodes returned # that value for the key. Puppet::Functions.create_function(:'aggregate::count') do dispatch :aggregate_count do