Sorry, should have added this to my initial post.  Here's output from when 
I try to do an OpenSCAP scan on a host from Foreman:

Failed to initialize: Dynflow::ExecutionPlan::Steps::Error - Failed 
rendering template: error during rendering: ERF47-1439 
[TemplateInput::ValueNotReady]: Input 'policies' is not ready for rendering


On Wednesday, August 23, 2017 at 3:31:48 PM UTC-4, Diggy wrote:
>
> Hello, all.
>
> I'm running the latest version of Foreman, and would like to extend its 
> capabilities by enabling OpenSCAP.  As per the Foreman OpenSCAP Manual, 
> I've installed foreman_openscap, smart_proxy_openscap, and 
> puppet-foreman_openscap_client, and can see OpenSCAP-related controls in my 
> Foreman instance.  However, when the foreman_scap_client class is added 
> to a host that I've added to an OpenScap policy, not only doesn't Foreman 
> OpenSCap not work on that host, but Puppet on that host stops working 
> altogether.  Here's the relevant output from running "puppet agent --test" 
> on the host:
>
> Error: Could not retrieve catalog from remote server: Error 500 on SERVER: 
> {"message":"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:0x3ee3268e> at 
> /etc/puppetlabs/code/environments/production/modules/foreman_scap_client/manifests/init.pp:42:20
>  
> on node 
> agrega2.netatlantic.com","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: 
> The 'stacktrace' property is deprecated and will be removed in a future 
> version of Puppet. For security reasons, stacktraces are not returned with 
> Puppet HTTP Error responses."]}
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
> Firstly, can anyone tell me why this error is occurring?  Secondly, can 
> anyone help me with (explicit) steps needed to make Foreman OpenSCAP work?
>
> Your help would be greatly appreciated.
>
> Diggy
>

-- 
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.

Reply via email to