lp://qastaging/~billy-olsen/charm-helpers/pass-params-to-upstart-scripts
- Get this branch:
- bzr branch lp://qastaging/~billy-olsen/charm-helpers/pass-params-to-upstart-scripts
Branch merges
- Jorge Niedbalski (community): Approve
-
Diff: 296 lines (+190/-30)2 files modifiedcharmhelpers/core/host.py (+158/-30)
tests/core/test_host.py (+32/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 682. By Billy Olsen
-
[billy-olsen,r=] Allow passing of parameters to upstart scripts.
Some upstart scripts require that additional key/value parameters
are specified in order to narrow down the instance of the service
which should be started/stopped/ restarted/ etc. This change adds
kwargs parameters to each of the service management functions in
order provide allow any attribute required by the underlying upstart
script to be specified.A notable limitation is that the service_pause and service_resume
will now allow the passing of parameters to the underlying service
for stopping and starting the service instance. However, all of the
service instances will be manually disabled for non-systemd init
systems. - 679. By Marco Ceppi
-
[cmars] Add functions to charmhelpers.
core.hookenv related to Juju Metrics (https:/ /jujucharms. com/docs/ stable/ developer- metrics). - 673. By David Ames
-
[thedac,
r=marco, r=corecyb] Do not Traceback on failure to resolve DNS Put the DNS check in a try block and return None if NXDomain rather
than raising and Exception.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/charm-helpers