Pulp Cheat Sheet

pulp-admin repo create --id CentOS6-64-os --feed http://mirror.atrpms.net/centos/6/os/x86_64/ ####create repo
pulp-admin repo sync --id CentOS6-64-os ############### sync os
pulp-admin repo status --id CentOS6-64-os ############# show sync status
pulp-admin repo create --id CentOS6-64-updates --feed http://mirror.atrpms.net/centos/6/updates/x86_64/ ###create repo
pulp-admin repo sync --id CentOS6-64-updates #########sync repo
pulp-admin repo status --id CentOS6-64-updates ############ show sync status
pulp-admin consumer bind --id rpms-itwnik --repoid CentOS6-64-os #### bind to repo
pulp-admin consumer bind --id rpms-itwnik --repoid CentOS6-64-updates ####bind to repo
pulp-admin consumer info --id rpms-itwnik ###see binded repos
pulp-admin repo sync --id EPEL --interval P1D --start "2012-08-10T00:00:00Z" ######scheduled syncing
pulp-admin consumer info --id rpms-itwnik --show-profile #####Repos and PackageProfile
pulp-admin package install -n telnet --consumerid rpms-itwnik ###########Package Remote Install

pulp-admin package update --consumerid rpms-itwnik #####Package Remote Update

#####################
Results
#####################

pulp-admin package update --consumerid rpms-itwnik
Created task id: c42ac811-f035-11e1-a7f9-525400431a08
Waiting: []
Consumer ID: rpms-itwnik [ SUCCEEDED ]
=====================================================================
Package Arch Version Repository
=====================================================================
Updated:
dhclient x86_64 4.1.1 CentOS6-64-updates
dhcp-common x86_64 4.1.1 CentOS6-64-updates
glibc x86_64 2.12 CentOS6-64-updates
glibc-common x86_64 2.12 CentOS6-64-updates
glibc-devel x86_64 2.12 CentOS6-64-updates
glibc-headers x86_64 2.12 CentOS6-64-updates
glibc-static x86_64 2.12 CentOS6-64-updates
glibc-utils x86_64 2.12 CentOS6-64-updates
kernel x86_64 2.6.32 CentOS6-64-updates
kernel-firmware noarch 2.6.32 CentOS6-64-updates
kernel-headers x86_64 2.6.32 CentOS6-64-updates
lldpad x86_64 0.9.43 CentOS6-64-updates
openldap x86_64 2.4.23 CentOS6-64-updates
openldap-devel x86_64 2.4.23 CentOS6-64-updates
openssl x86_64 1.0.0 CentOS6-64-updates
openssl-devel x86_64 1.0.0 CentOS6-64-updates
redhat-logos noarch 60.0.14 CentOS6-64-updates

Author: GergunD

Leave a Reply