Hide Forgot
[root@pulp-nightly httpd]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp/user-cert.pem] [root@pulp-nightly httpd]# pulp-admin repo create --id=foo poulSuccessfully created repository [ foo ] [root@pulp-nightly httpd]# pulp-client -u admin -p admin consumer create --id=fred pulSuccessfully created consumer [ fred ] [root@pulp-nightly httpd]# pulp-client consumer bind --repoid=foo Successfully subscribed consumer [fred] to repo [foo] [root@pulp-nightly httpd]# yum repolist Loaded plugins: pulp-profile-update foo | 2.6 kB 00:00 foo/primary_db | 1.2 kB 00:00 repo id repo name status fedora Fedora 14 - x86_64 22,161 fedora-pulp-testing Pulp is a python application for managing software content. 13 foo foo 0 updates Fedora 14 - x86_64 - Updates 9,117 repolist: 31,291 [root@pulp-nightly httpd]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [foo] name = foo enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://pulp-nightly.usersys.redhat.com/pulp/repos/foo[root@pulp-nightly httpd]# [root@pulp-nightly httpd]# pulp-admin consumer delete --id=fred Successfully deleted consumer [fred] [root@pulp-nightly httpd]# pulp-admin repo delete --id=foo Successful deleted repository [ foo ] [root@pulp-nightly httpd]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [foo] name = foo enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://pulp-nightly.usersys.redhat.com/pulp/repos/foo[root@pulp-nightly httpd]# All subsequent yum related command will fail because yum will be unable to locate the repomd.xml of the deleted repo.
commit e976a03b79e1ec5256d9a57449416639c9680440 Author: James Slagle <jslagle> Date: Thu Oct 20 10:58:05 2011 -0400 727311 Unbind a consumer from all its repos before deleting it. We now unbind a consumer from all its repos before we delete it.
build: 0.241
verified [root@preethi ~]# rpm -q pulp pulp-0.0.241-1.fc15.noarch [root@preethi ~]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp/user-cert.pem] [root@preethi ~]# pulp-admin repo create --id=foo Successfully created repository [ foo ] [root@preethi ~]# pulp-consumer -u admin -p admin consumer register --id=test warning: this client is not known to the pulp server; run 'pulp-consumer consumer register' to register it Successfully registered consumer [ test ] [root@preethi ~]# pulp-consumer -u admin -p admin consumer bind --repoid=foo Successfully subscribed consumer [test] to repo [foo] [root@preethi ~]# yum repolist Loaded plugins: auto-update-debuginfo, langpacks, presto, pulp-profile-update, : refresh-packagekit Repository fedora-pulp is listed more than once in the configuration beaker | 951 B 00:00 epel-389-ds-base | 1.3 kB 00:00 fedora-debuginfo/metalink | 18 kB 00:00 foo | 2.9 kB 00:00 foo/primary_db | 1.1 kB 00:00 testing-fedora-pulp | 2.9 kB 00:00 updates/metalink | 17 kB 00:00 updates | 4.7 kB 00:00 updates/primary_db | 5.4 MB 00:00 updates-debuginfo/metalink | 15 kB 00:00 updates-debuginfo | 3.1 kB 00:00 updates-debuginfo/primary_db | 435 kB 00:00 repo id repo name status beaker Beaker 1 epel-389-ds-base 389-ds-base package for EL6 16 fedora Fedora 15 - x86_64 24,085 fedora-debuginfo Fedora 15 - x86_64 - Debug 5,526 foo foo 0 testing-fedora-pulp Pulp Testing Builds 17 updates Fedora 15 - x86_64 - Updates 7,358 updates-debuginfo Fedora 15 - x86_64 - Updates - Debug 1,365 repolist: 38,368 [root@preethi ~]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [foo] name = foo enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://preethi.usersys.redhat.com/pulp/repos/foo[root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-consumer -u admin -p admin consumer unregister Successfully unregistered consumer [test] [root@preethi ~]# cat /etc/yum.repos.d/pulp.repo cat: /etc/yum.repos.d/pulp.repo: No such file or directory [root@preethi ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.