Iain Buclaw
11/26/2025, 1:05 PMdsc_firewall { ... }
dsc_remotedesktopadmin { ... }
dsc_networkprofile { ... }
dsc_certificateimport { ... }
Get server error if all the above are used - which resource mentioned in the error differs on every agent run.
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/dsc_certificateimport: Could not autoload puppet/provider/dsc_certificateimport/dsc_certificateimport: no such file to load -- puppet/provider/dsc_base_provider/dsc_base_provider
Comment out any resource, then the catalogue compiles successfully.
All resource providers require 'puppet/provider/dsc_base_provider/dsc_base_provider', which is present in the environment via pwshlib module. 🤷