You have lots of options. 

The API: 
https://<your-katello-host>/apidoc/v2/content_views.html 

Nailgun: 
https://github.com/SatelliteQE/nailgun 

Various projects here: 
https://github.com/RedHatSatellite 




From: "Lachlan Musicman" <[email protected]> 
To: "Foreman Users" <[email protected]> 
Sent: Wednesday, February 22, 2017 4:39:58 PM 
Subject: [foreman-users] Programmatic method for finding content views? 

I have become comfortable with the Foreman/Katello GUI, but sometimes I want an 
easy way to find a list of Composite Content Views, their versions, what 
Content View is in each version of said Composite Content View, and what that 
version is. 

eg: 

list CCVs 

CCV Worker Node 
v5.0: 
- base centos 7.2 v4.0 
- extras v3.0 
- sssd@copr v2.0 

v4.0: 
- base centos 7.2 v3.0 
- extras v3.0 
- sssd@copr v2.0 

v3.0: 
- base centos 7.2 v3.0 
- extras v2.0 
- sssd@copr v1.0 

CCV Head Node 
v3.0: 
- base centos 7.2 v4.0 
- extras v3.0 
- sssd@copr v2.0 

CCV Utils 
v6.0 
- base centos 7.2 v4.0 
- extras v3.0 
- sssd@copr v2.0 
- forman v4.0 
- zabbix v2.0 

Is there a way to do that using a command line tool? (GUI is ok too) 

cheers 
L. 





------ 
The most dangerous phrase in the language is, "We've always done it this way." 

- Grace Hopper 


-- 
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 [ mailto:[email protected] | 
[email protected] ] . 
To post to this group, send email to [ mailto:[email protected] | 
[email protected] ] . 
Visit this group at [ https://groups.google.com/group/foreman-users | 
https://groups.google.com/group/foreman-users ] . 
For more options, visit [ https://groups.google.com/d/optout | 
https://groups.google.com/d/optout ] . 

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