Foreman_scap_client puppet module issue

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

Hi,
it would be good to know more details about your client. Given the error, it seems like there might be something in your environment that is causing the failure. I found https://tickets.puppetlabs.com/browse/MODULES-10539 which might help to pinpoint the problem.

1 Like

so what I need to update I didn’t get it still powershelgl module ?

Updating the powershell module is worth a try.

it fixed , I don’t know how