Issue #346
closedError message when trying to upgrade with puppet update when the latest is installed is misleading
Description
Description of problem:
Error message indicates that the module is not installed, when trying to update puppet module and you have the latest installed
[root@cloud-qe-8 ~]# pulp-admin puppet consumer install run --consumer-id el5-consumer -u puppetlabs/stdlib/
This command may be exited via ctrl+c without affecting the request.
[\]
1 change was made
Install Succeeded
[root@cloud-qe-8 ~]# pulp-admin puppet consumer update run --consumer-id el5-consumer -u puppetlabs/stdlib/
Update task created with id [ a17fef59-1c1b-4e24-95f2-d24ff927a4c3 ]
This command may be exited via ctrl+c without affecting the request.
[\]
Could not upgrade 'puppetlabs-stdlib'; module is not installed
Operation executed, but no changes were made.
[root@mgmt3 ~]# puppet module list
/etc/puppet/modules
└── puppetlabs-stdlib (v3.2.0)
/usr/share/puppet/modules (no modules installed)
[root@mgmt3 ~]#
Version-Release number of selected component (if applicable):
[root@cloud-qe-8 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.26.beta.noarch
[root@cloud-qe-8 ~]#
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
+ This bug was cloned from Bugzilla Bug #927466 +