bolt-modules/boltlib/lib/puppet/functions/set_var.rb in bolt-2.15.0 vs bolt-modules/boltlib/lib/puppet/functions/set_var.rb in bolt-2.16.0
- old
+ new
@@ -25,9 +25,10 @@
.from_issue_and_stack(Bolt::PAL::Issues::PLAN_OPERATION_NOT_SUPPORTED_WHEN_COMPILING, action: 'set_var')
end
inventory = Puppet.lookup(:bolt_inventory)
executor = Puppet.lookup(:bolt_executor)
+ # Send Analytics Report
executor.report_function_call(self.class.name)
var_hash = { key => value }
inventory.set_var(target, var_hash)