Hi All,

Can somebody please advise me how to enable openscap in foreman. 

My environment is installed with 
# foreman-release-1.14.3-1.el7 
# katello-repos-3.3.1-1.el7


[root@foreman ~]# rpm -qa |grep openscap
openscap-1.2.10-3.el7_3.x86_64
openscap-utils-1.2.10-3.el7_3.x86_64
rubygem-openscap-0.4.7-1.el7.noarch
openscap-scanner-1.2.10-3.el7_3.x86_64
tfm-rubygem-foreman_openscap-0.6.7-1.fm1_14.el7.noarch
rubygem-smart_proxy_openscap-0.6.4-1.el7.noarch




[root@foreman ~]# puppet module install theforeman-foreman_scap_client
Notice: Preparing to install into 
/etc/puppetlabs/code/environments/production/modules ...
Notice: Module theforeman-foreman_scap_client 0.3.15 is already installed.



While applying the puppet module to client i get error as below : 


[root@rhclient ~]# puppet agent -t --server=foreman.poc.lab
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/package_provider.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/puppet_settings.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/service_provider.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_settings.rb
Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/package_provider.rb
Info: Loading facts in /var/lib/puppet/lib/facter/rh_certificates.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Caching catalog for rhclient.poc.lab
Error: Failed to apply catalog: Parameter source failed on 
File[/etc/pki/rpm-gpg/RPM-GPG-KEY-foreman]: Could not understand source 
'https://yum.theforeman.org/RPM-GPG-KEY-foreman': bad URI(is not URI?): 
'https://yum.theforeman.org/RPM-GPG-KEY-foreman' at 
/etc/puppetlabs/code/environments/production/modules/foreman_scap_client/manifests/init.pp:69
Wrapped exception:
Could not understand source 
'https://yum.theforeman.org/RPM-GPG-KEY-foreman': bad URI(is not URI?): 
'https://yum.theforeman.org/RPM-GPG-KEY-foreman'
Wrapped exception:
bad URI(is not URI?): 'https://yum.theforeman.org/RPM-GPG-KEY-foreman'



Thanks
George

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