Module Version: 7.1.0**
Puppet Version: 6.12.0**
OS Name/Version: Windows 2019 Server Datacenter**
We are using the puppetlabs-iis module on windows 2019 server with puppet agent 6.14.0 and we are getting sometimes the following error:
|Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/iis_feature: Could not autoload puppet/provider/iis_feature/default: no such file to load – ruby-pwsh (file: /etc/puppetlabs/code/environments/env/modules/iisserver/manifests/preprovision.pp, line: 12, column: 5) on node node_host_name|
We are receiving errors regarding puppet/provider/iis_site/iisadministration and for other parts as well.
The issue is that it's not crashing every time, and we cant find the source of this issue.
It can be situation like this - we ran puppet agent -t on agent for 4 times and each time we received errors similar to showed above, but on 5th ran catalog was compiled successfully and puppet agent run continued.
Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.