Actions
Feature #11740
closedhammer sync-plan info does not display the sync plan enabled state
Difficulty:
easy
Triaged:
Description
Pasted from BZ #1261122:
Description of problem:
hammer sync-plan info output does not contain information about sync plan 'enable' state.
Version-Release number of selected component (if applicable):
sat6-Satellite-6.1.0-RHEL-7-20150828.0
- rpm -qa hammer
rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.5-1.el7sat.noarch
rubygem-hammer_cli-0.1.4.12-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
rubygem-hammer_cli_gutterball-0.0.1.3-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
rubygem-hammer_cli_import-0.10.20-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
rubygem-hammer_cli_katello-0.0.7.17-1.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. create a sync plan
2. list its info using `hammer sync-plan info`
Actual results:
- hammer sync-plan create --organization-id 46 --name test --enabled True --interval daily
Sync plan created
]# hammer sync-plan list --organization-id 46
---|------|---------------------|---------
ID | NAME | START DATE | INTERVAL
---|------|---------------------|---------
1 | test | 2015/09/08 17:29:01 | daily
---|------|---------------------|---------
- hammer sync-plan info --id 1
ID: 1
Name: test
Start Date: 2015/09/08 17:29:01
Interval: daily
Description:
Created at: 2015/09/08 15:29:01
Updated at: 2015/09/08 15:29:01
Expected results:
something like:
- hammer sync-plan info --id 1
ID: 1
Name: test
Start Date: 2015/09/08 17:29:01
Interval: daily
Description:
Enabled: yes
Created at: 2015/09/08 15:29:01
Updated at: 2015/09/08 15:29:01
Actions