Hi, it seems like there is something wrong with foreman_scap_client puppet module. Looking closer at our docs, there is an error in step 2.3 - installing puppet-foreman_scap_client. The main repo was moved, the command should be:
puppet module install theforeman-foreman_scap_client If you installed isimluk-foreman_scap_client, uninstall it and run the command above to get the updated version. Hope this helps, Ondrej Prazak On Tue, Oct 17, 2017 at 3:47 PM, <[email protected]> wrote: > > I've followed the instructions to enable OpenSCAP, created a policy and > imported the foreman_scap_client module from the Forge. When I assign my > policy to a hostgroup and run a puppet agent -t on a client in that > hostgroup, I receive the following error: > > Info: Using configured environment 'production' > Info: Retrieving pluginfacts > Info: Retrieving plugin > 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 Function Call, Failed > to parse inline template: undefined local variable or method > `policies_array' for #<Puppet::Parser::TemplateWrapper:0x3644076f> at > /etc/puppetlabs/code/environments/production/modules/foreman_scap_client/manifests/init.pp:42:20 > on node puppet-test.domain.local > > I'm not sure where to begin to determine what might cause this error? > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
