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