Join Slack
Powered by
This message was deleted.
# office-hours
s
Slackbot
01/31/2023, 6:25 PM
This message was deleted.
c
csharpsteen
01/31/2023, 6:44 PM
If we count paths by doing a depth-first walk of the fact hash, we could probably track the path count under each top-level fact and print out the "top 10" if the total count is larger than the threshold.
j
josh
01/31/2023, 6:51 PM
Ah sorry, I meant to say I don't know of a good way given the current implementation. But what you're saying sounds great. The counting starts here
https://github.com/puppetlabs/puppet/blob/f4fbaaac5b21731929e76a7218b3f735ef41cd15/lib/puppet/configurer.rb#L211
Open in Slack
Previous
Next