Bug 663107 - Errata install cli options should match package install cli
Summary: Errata install cli options should match package install cli
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-12-14 17:59 UTC by Preethi Thomas
Modified: 2011-08-16 13:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 13:58:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-12-14 17:59:30 UTC
Description of problem:


Package install cli is as follows


[root@preethi ~]# pulp-admin package install --help
Usage: pulp-admin <options> package install <options>

Options:
  -h, --help            show this help message and exit
  -n PNAMES, --name=PNAMES
                        packages to be installed; to specify multiple packages
                        use multiple -n

  Consumer or Consumer Group id (one is required:
    --consumerid=CONSUMERID
                        consumer id
    --consumergroupid=CONSUMERGROUPID
                        consumer group id


while Errata Install is 


[root@preethi ~]# pulp-admin errata install --help
Usage: pulp-admin <options> errata install <options>

Options:
  -h, --help            show this help message and exit

  Consumer or Consumer Group id (one is required):
    --consumerid=CONSUMERID
                        consumer id
    --consumergroupid=CONSUMERGROUPID
                        consumer group id

Comment 1 Pradeep Kilambi 2010-12-22 20:30:01 UTC
commit a55f20b50712a91a4c676d57f4fd1f6e7f4be685
Author: Pradeep Kilambi <pkilambi>
Date:   Wed Dec 22 15:29:08 2010 -0500


$ sudo pulp-admin errata install --help
Usage: pulp-admin <options> errata install <options>

Options:
  -h, --help            show this help message and exit
  -e ENAMES, --erratum=ENAMES
                        erratum to be installed; to specify multiple erratum
                        id use multiple -e
  -y, --assumeyes       Assume yes; assume that install performs all the
                        suggested actions such as reboot on successful
                        install.

  Consumer or Consumer Group id (one is required):
    --consumerid=CONSUMERID
                        consumer id
    --consumergroupid=CONSUMERGROUPID
                        consumer group id

Comment 2 Jay Dobies 2010-12-22 20:56:30 UTC
Fixed in 0.119.

Comment 3 Preethi Thomas 2010-12-23 14:58:42 UTC
[root@pulp ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch

[root@pulp ~]# pulp-admin errata install --help
Usage: pulp-admin <options> errata install <options>

Options:
  -h, --help            show this help message and exit
  -e ENAMES, --erratum=ENAMES
                        erratum to be installed; to specify multiple erratum
                        id use multiple -e
  -y, --assumeyes       Assume yes; assume that install performs all the
                        suggested actions such as reboot on successful
                        install.

  Consumer or Consumer Group id (one is required):
    --consumerid=CONSUMERID
                        consumer id
    --consumergroupid=CONSUMERGROUPID
                        consumer group id
[root@pulp ~]# pulp-admin package install --help
Usage: pulp-admin <options> package install <options>

Options:
  -h, --help            show this help message and exit
  -n PNAMES, --name=PNAMES
                        packages to be installed; to specify multiple packages
                        use multiple -n
  --when=WHEN           Format: 'Year-Month-Day Hour:Min' specifies when to
                        execute task

  Consumer or Consumer Group id (one is required:
    --consumerid=CONSUMERID
                        consumer id
    --consumergroupid=CONSUMERGROUPID
                        consumer group id

Comment 4 Preethi Thomas 2011-08-16 13:58:51 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.