Distributions

As part of Pulp's repo sync, kickstart trees are synchronized if they are present in the feed repository. In Pulp termniology, a kickstart tree is referred to as a distribution. A distribution is associated with the repository from which is was synchronized and all files related to the distribution are found in the same location as the repository's files.

Distributions in a Pulp server are retrieved using the distribution list command:

$ sudo pulp-admin distribution list
+------------------------------------------+
       List of Available Distributions
+------------------------------------------+

Id                    	ks-Fedora-Fedora-15-x86_64
Description           	ks-Fedora-Fedora-15-x86_64
Family                	Fedora                   
Variant               	Fedora                   
Version               	15         
Arch                    x86_64              
URL                   	https://localhost/pulp/ks/fedora15/
 			https://localhost/pulp/ks/fedora15-clone/
 			https://localhost/pulp/ks/fedora15-test/
 			https://localhost/pulp/ks/pub/fedora/linux/releases/15/Fedora/x86_64/os/
Timestamp             	2011-05-13T15:44:30      

Id                    	ks-Fedora-Fedora-14-x86_64
Description           	ks-Fedora-Fedora-14-x86_64
Family                	Fedora                   
Variant               	Fedora                   
Version               	14        
Arch                    x86_64                            
URL                   	https://localhost/pulp/ks/fedora14/
 			https://localhost/pulp/ks/fedora14-clone/
 			https://localhost/pulp/ks/fedora14-test/
 			https://localhost/pulp/ks/pub/fedora/linux/releases/14/Fedora/x86_64/os/
Timestamp             	2011-05-13T15:44:30      

The list of distributions can be scoped to a particular repository using the --repoid argument:

$ pulp-admin distribution list --repoid=f14-x64
+------------------------------------------+
       List of Available Distributions
+------------------------------------------+


Id                    	ks-Fedora-Fedora-14-x86_64
Description           	ks-Fedora-Fedora-14-x86_64
Family                	Fedora                   
Variant               	Fedora                   
Version               	14    
Arch                    x86_64                                
URL                   	https://localhost/pulp/ks/fedora14/
 			https://localhost/pulp/ks/fedora14-clone/
 			https://localhost/pulp/ks/fedora14-test/
 			https://localhost/pulp/ks/pub/fedora/linux/releases/14/Fedora/x86_64/os/
Timestamp             	2011-05-13T15:44:30  

More information on a specific distribution is retrieved using the distribution info command and specifying the distribution in question with --id:

$ sudo pulp-admin distribution info --id=ks-Fedora-Fedora-15-x86_64
Id                    	ks-Fedora-Fedora-15-x86_64
Description           	ks-Fedora-Fedora-15-x86_64
URL                   	https://localhost/pulp/ks/fedora15/
 			https://localhost/pulp/ks/fedora15-clone/
 			https://localhost/pulp/ks/fedora15-test/
 			https://localhost/pulp/ks/pub/fedora/linux/releases/15/Fedora/x86_64/os/
Family                	Fedora                   
Variant               	Fedora                   
Version               	15     
Arch                    x86_64                                
Files                 	/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/.treeinfo
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/repomd.xml.lock
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/repomd.xml
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/initrd.img
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/efiboot.img
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/vmlinuz
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/boot.iso
 			/var/lib/pulp/distributions/ks-Fedora-Fedora-15-x86_64/efidisk.img
Timestamp             	2011-05-13T15:44:30      



# NOTE: The url that you see above can be used directly for baremetal kickstarts.

Distribution membership in a repository is also displayed in repository information commands. For more information, see the Repository Display documentation.