Need help locating equivalent helpers from windows community cookbook in Chef Infra Client

Since the windows community cookbook has been deprecated, I am working on stripping out any leftover dependencies to the cookbook. I have been unable to locate an equivalent helper for the installed_packages method in the windows_helper library (and implicitly the extract_installed_packages_from_key.

Is the expectation that I would roll my own replacement helper method using win32 registry methods or is there an already provided helper native to Chef Infra Client I could be using?

Kind regards


We've integrated package information collection directly into the Chef Infra Client in recent releases. You can access this data on your Windows nodes at node['packages']. That may have the data you're looking for.


Well that is tremendously simpler than what I was suggesting. Thanks for your help