Bug 1118454

Summary: [RFE] adding multiple puppet modules to a content view should be simpler
Product: Red Hat Satellite Reporter: Erik M Jacobs <ejacobs>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cpitman, riehecky, stbenjam
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-05 19:38:06 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:

Description Erik M Jacobs 2014-07-10 18:14:31 UTC
Description of problem:
Currently there is no way to add multiple Puppet modules to a content view. Adding 5 modules takes quite a while. Creating a view with 20-30 modules (which might be common) probably takes an excruciatingly long time.

It would be great if we could figure out a way to implement some kind of mass-add modules.

Comment 1 RHEL Program Management 2014-07-10 18:23:50 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Chris Pitman 2015-03-23 20:38:03 UTC
We have also run into this issue. Here are two possible ways of addressing it, although I'm sure there are more:

1) Take advantage of puppet module metadata (in either Modulefile or metadata.json) to automatically detect missing dependencies in the content view and easily run through all of them to select which version you want. Keep doing this until all dependencies are resolved.

2) Let a user provide a Puppetfile with a listing of puppet modules that should be in the content view. This could either resolve dependencies (puppet-librarian style) or require all dependencies be included (r10k style). Either way, ti would make this a faster process.

Comment 4 Stephen Benjamin 2015-05-07 12:28:15 UTC
Here's a post about using Librarian: https://bitbin.de/blog/2015/05/using-librarian-with-katello/

BZ1127382 breaks hammer puppet-module though, but even if it was working, it's absurd the hoops to jump through.  I should be able to add a puppet module to a content view

Comment 5 Stephen Benjamin 2015-05-07 12:29:37 UTC
Hit submit too early --

I should be able to add a puppet module to a content view based solely on version and name (in the CLI)

For the UI case though that Erik is asking about, not sure how to make that part easier, you always have to select a version (explicit or latest) for each module.

Comment 6 Brad Buckingham 2016-08-05 19:38:06 UTC

*** This bug has been marked as a duplicate of bug 1154400 ***