bolt-modules/boltlib/lib/puppet/functions/facts.rb in bolt-2.15.0 vs bolt-modules/boltlib/lib/puppet/functions/facts.rb in bolt-2.16.0
- old
+ new
@@ -15,9 +15,10 @@
def facts(target)
inventory = Puppet.lookup(:bolt_inventory)
# Bolt executor not expected when invoked from apply block
executor = Puppet.lookup(:bolt_executor) { nil }
+ # Send Analytics Report
executor&.report_function_call(self.class.name)
inventory.facts(target)
end
end