puppet agent -t
Info: Using configured environment ‘production’
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/exec: Could not autoload puppet/provider/exec/powershell: no such file to load – ruby-pwsh (file: /usr/share/puppet/modules/foreman_scap_client/manifests/init.pp, line: 187, column: 3) on node v6testdevops
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run