For Katello we are going to need to be able to do 2 new commands that the Katello Agent does not yet support: 1) Update all packages on a system, aka 'yum -y update' 2) Update an existing (or set of existing) packages on a system, aka: 'yum update kernel zsh xterm' We will also need associated server side APIs to be able to invoke these commands from a REST call into Pulp. Something like: == Update Package == Request that package be updated on a consumer. method: POST path: /consumers/<consumer id>/updatepackage/ permission: EXECUTE success response: 202 ACCEPTED failure response: * 404 Not Found if there is no such consumer return: Task parameters: * packagenames <list> a list of packages to update * scheduled_time <str> (optional) schedule in iso8601 format; immediate when Null == Update All Packages == Request that all packages be updated on a consumer. method: POST path: /consumers/<consumer id>/updateallpackages/ permission: EXECUTE success response: 202 ACCEPTED failure response: * 404 Not Found if there is no such consumer return: Task parameters: * scheduled_time <str> (optional) schedule in iso8601 format; immediate when Null
Supported in gofer-package-0.57 so yum heavy-lifting already done. Need to: - add Packages.update() to pulpplugin and katelloplugin. - add to pulp manager layer - add to pulp REST layer - add CLI - update REST and UG docs.
build: 0.251
verified [root@preethi ~]# rpm -q pulp pulp-0.0.255-1.fc15.noarch [root@preethi ~]# pulp-admin package update --consumerid=pulp-client Created task id: 865dbf8c-36f2-11e1-bca2-002564a85a58 Waiting: [\] [41] packages: 12:dhclient-4.2.1-14.P1.fc15.x86_64 12:dhcp-common-4.2.1-14.P1.fc15.x86_64 12:dhcp-libs-4.2.1-14.P1.fc15.x86_64 1:perl-Digest-SHA-5.47-164.fc15.x86_64 1:perl-ExtUtils-ParseXS-2.2206-164.fc15.noarch 1:perl-Module-Pluggable-3.90-164.fc15.noarch 1:perl-Pod-Escapes-1.04-164.fc15.noarch 1:perl-Pod-Simple-3.13-164.fc15.noarch 32:bind-libs-lite-9.8.1-3.P1.fc15.x86_64 32:bind-license-9.8.1-3.P1.fc15.noarch 4:perl-5.12.4-164.fc15.x86_64 4:perl-devel-5.12.4-164.fc15.x86_64 4:perl-libs-5.12.4-164.fc15.x86_64 flac-1.2.1-8.fc15.x86_64 grinder-0.0.134-1.fc15.noarch iproute-2.6.38.1-5.fc15.x86_64 jasper-libs-1.900.1-18.fc15.x86_64 libicu-4.4.2-9.fc15.x86_64 libjpeg-turbo-1.1.1-3.fc15.x86_64 mdadm-3.2.2-15.fc15.x86_64 nss-softokn-3.12.10-5.fc15.x86_64 nss-softokn-freebl-3.12.10-5.fc15.x86_64 pam-1.1.5-1.fc15.x86_64 pcre-8.12-5.fc15.x86_64 perl-CPAN-1.9402-164.fc15.noarch perl-ExtUtils-MakeMaker-6.56-164.fc15.noarch perl-Glib-1.241-1.fc15.x86_64 perl-Test-Harness-3.17-164.fc15.noarch procmail-3.22-27.fc15.x86_64 python-isodate-0.4.4-4.pulp.fc15.noarch python-oauth2-1.5.170-2.pulp.fc15.noarch python-rhsm-0.98.3-1.fc15.noarch python-slip-0.2.20-1.fc15.noarch python-slip-dbus-0.2.20-1.fc15.noarch selinux-policy-3.9.16-48.fc15.noarch selinux-policy-targeted-3.9.16-48.fc15.noarch sendmail-8.14.5-2.fc15.2.x86_64 tzdata-2011n-2.fc15.noarch xdg-utils-1.1.0-0.10.20111207.fc15.noarch zlib-1.2.5-5.fc15.x86_64 zsh-4.3.15-1.fc15.x86_64 updated on pulp-client
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.