Ticket #2919 (closed defect: Fixed)
When updating a ZenPack remove previous version from filesystem if necessary
| Reported by: | jstevens | Owned by: | jstevens |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | zenoss-2.2 |
| Component: | ZenPack | Version: | 2.1.2 |
| Keywords: | Cc: | ||
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
Simple case: when a zenpack is first created it exists in $ZENHOME/ZenPacks. If a developer copies that elsewhere and does "zenpack --link --install .." from the new location Zenoss should delete it from the $ZENHOME/ZenPacks directory.
Another example: a zenpack is installed via --link then installed again into the $ZENHOME/ZenPacks directory. Zenoss needs to make sure the previously linked version is no longer linked.
Change History
Note: See
TracTickets for help on using
tickets.