Bug 1196672

Summary: Need docs for converting puppet-foreman_scap_client to puppet-module
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: Docs Release NotesAssignee: Athene Chan <achan>
Status: CLOSED NOTABUG QA Contact: David O'Brien <daobrien>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: bbuckingham, bkearney, mmurray
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 05:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1047797    
Deadline: 2015-04-14   

Description Kedar Bidarkar 2015-02-26 13:55:22 UTC
Document URL: 

Section Number and Name: 

Describe the issue: 

1) running openscap scan requires puppet-class 'foreman_scap_client' being populated.
2) Currently puppet-foreman_scap_client is being delivered as a package which needs to be converted to puppet-module to create a puppet repo.


Suggestions for improvement: 

Steps for converting RPM to puppet-module.

a) Install the rpm pcakage 'puppet-foreman_scap_client' on satellite6.
b) move to dir, /usr/share/puppet/modules/foreman_scap_client
c) run 'puppet mdoule build' inside the above mentioned dir
d) the puppet-module is created.
e) Create the puppet repo , using the upload file approach.


Additional information:

Comment 2 Kedar Bidarkar 2015-02-27 14:38:29 UTC
Minor typo corrections: 


a) Install the rpm package 'puppet-foreman_scap_client' on satellite6.
b) move to dir, /usr/share/puppet/modules/foreman_scap_client
c) run 'puppet module build' inside the above mentioned directory
d) the puppet-module is created under pkg dir.
e) Create the puppet repo , using the upload file approach.

Comment 4 Kedar Bidarkar 2015-03-25 10:41:20 UTC
Looks like this is no longer required.

Why?

Because,

a) The RPM puppet-foreman_scap_client-0.3.3-4.el7sat.noarch when installed, 
adds the foreman_scap_client modules under /usr/share/puppet/modules 

b) Also on the sat6.1 the puppet config file /etc/puppet/puppet.conf contains,
'/usr/share/puppet/modules'  under 'basemodulepath'

c) what is the basemodulepath for?

Although environments should contain their own modules, you might want some modules to be available to all environments.

d) For OSCAP as we want it to be available under all environment, there is no need for the puppet-module and just installing the RPM puppet-foreman_scap_client should be enough.

so there is no need for converting puppet-foreman_scap_client to puppet-module.

Comment 5 Athene Chan 2015-03-26 05:18:02 UTC
Kedar,

Closing this ticket as per your request. 

Cheers,
Athene