Add support for application version
Juju 2.0 provides support for display of the version of an application deployed by a charm in juju status. Insert the application_version_set function into the existing assess_status function - this gets called after all hook executions, and periodically after that, so any changes in package versions due to normal system updates will also be reflected in the status output. This review also includes a resync of charm-helpers to pickup hookenv support for this feature. Change-Id: If1ec3dcc5025d1a1f7e64f21481412ad630050ea
Showing
- charm-helpers-hooks.yaml 1 addition, 0 deletionscharm-helpers-hooks.yaml
- hooks/ceph_hooks.py 6 additions, 0 deletionshooks/ceph_hooks.py
- hooks/charmhelpers/contrib/charmsupport/nrpe.py 33 additions, 9 deletionshooks/charmhelpers/contrib/charmsupport/nrpe.py
- hooks/charmhelpers/contrib/openstack/utils.py 19 additions, 2 deletionshooks/charmhelpers/contrib/openstack/utils.py
- hooks/charmhelpers/contrib/storage/linux/ceph.py 6 additions, 0 deletionshooks/charmhelpers/contrib/storage/linux/ceph.py
- hooks/charmhelpers/core/hookenv.py 14 additions, 0 deletionshooks/charmhelpers/core/hookenv.py
- hooks/charmhelpers/core/host.py 28 additions, 59 deletionshooks/charmhelpers/core/host.py
- hooks/charmhelpers/core/host_factory/__init__.py 0 additions, 0 deletionshooks/charmhelpers/core/host_factory/__init__.py
- hooks/charmhelpers/core/host_factory/centos.py 56 additions, 0 deletionshooks/charmhelpers/core/host_factory/centos.py
- hooks/charmhelpers/core/host_factory/ubuntu.py 56 additions, 0 deletionshooks/charmhelpers/core/host_factory/ubuntu.py
- hooks/charmhelpers/core/kernel.py 21 additions, 15 deletionshooks/charmhelpers/core/kernel.py
- hooks/charmhelpers/core/kernel_factory/__init__.py 0 additions, 0 deletionshooks/charmhelpers/core/kernel_factory/__init__.py
- hooks/charmhelpers/core/kernel_factory/centos.py 17 additions, 0 deletionshooks/charmhelpers/core/kernel_factory/centos.py
- hooks/charmhelpers/core/kernel_factory/ubuntu.py 13 additions, 0 deletionshooks/charmhelpers/core/kernel_factory/ubuntu.py
- hooks/charmhelpers/fetch/__init__.py 27 additions, 297 deletionshooks/charmhelpers/fetch/__init__.py
- hooks/charmhelpers/fetch/bzrurl.py 4 additions, 3 deletionshooks/charmhelpers/fetch/bzrurl.py
- hooks/charmhelpers/fetch/centos.py 171 additions, 0 deletionshooks/charmhelpers/fetch/centos.py
- hooks/charmhelpers/fetch/giturl.py 4 additions, 3 deletionshooks/charmhelpers/fetch/giturl.py
- hooks/charmhelpers/fetch/ubuntu.py 336 additions, 0 deletionshooks/charmhelpers/fetch/ubuntu.py
- hooks/charmhelpers/osplatform.py 19 additions, 0 deletionshooks/charmhelpers/osplatform.py
Loading
Please register or sign in to comment