Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-server/pull/867
@ahgittin can you take another look please: gone for option (2) as
discussed: only persist the bundle if we actually installed it (so delete the
bundle from persisted state if it is a duplicate of another
brooklyn-managed-bundle.
This was harder than I expected: promotion of an HA hot-standby behaved
differently. See unit test and comments for more info.---
