Puppet run fails with error "Must pass policies to Class[Foreman_scap_client] on node"

Solution Verified - Updated -

Issue

  • Unable to configure OpenSCAP on the client.
  • Puppet agent -tv command fails with the below error.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Must pass policies to Class[Foreman_scap_client] on node rhel7-vm1.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Environment

  • Red Hat Satellite Server v 6
  • Puppet
  • OpenSCAP

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.