Puppet Version: 6.4.5 and 6.14.0
OS Name/Version: Windows
On a Windows Server 2016 node running Puppet 6.4.5 and 6.14.0 with Python installed in a path with spaces, the Puppet catalog returns the below error if package collection is enabled:
Cannot collect packages for Puppet::Type::Package::ProviderPip provider; [nil, nil]
More specifically, this issue was fixed in
PUP-9647 for getting the pip version, but this was not fixed when Puppet executes the `pip freeze -all' command to get the packages.
Quote function should be added to the pip provider here:
Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig)
For memory issues with server heap dumps are also helpful.