Dominic, that was it! The value I was using in foreman to override the
smart class parameter was not properly formatted yaml (i was missing
On Friday, September 16, 2016 at 2:15:51 AM UTC-7, Dominic Cleal wrote:
> On 15/09/16 23:57, Joseph Cunningham wrote:
> > I know this is an old thread, but following this guide, I'm getting the
> > following error when attempting to run puppet agent -t on the client:
> > Info: Retrieving pluginfacts
> > Info: Retrieving plugin
> > Info: Loading facts
> > Error: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: no implicit conversion of nil into Hash at
> > on node omdapps06.mil.state.or.us
> > Warning: Not using cache on failed catalog
> > Error: Could not retrieve catalog; skipping run
> > Gist of init.pp is here:
> > https://gist.github.com/joeywas/d8f0d676b9ef3beb54ae0d617ef69633
> Line 12 is the create_resources() call, which uses $firewall_data from
> the class parameter. If that is nil, then it's likely that the parameter
> isn't correctly set in Foreman.
> View the ENC output (the YAML button on the host page) and ensure
> firewall_data is listed below the firewall_custom class name with the
> YAML representing your firewall resources/rules, else ensure it's set in
> the smart class parameter in Foreman.
> Dominic Cleal
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 post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.