If you’re trying to setup SCAP with Red Hat Satellite 6.1.7 and encounter below error message on your client when running ‘puppet agent -t’:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown function pick at /etc/puppet/environments/KT_Default_Organization_Library_CONTENTVIEW_2/modules/foreman_scap_client/manifests/params.pp:2

Then the issue is that you have to add the ‘puppetlabs/stdlib’ module to your content view/host.

That was all.