Implement support for exposed and unexposed hooks

Bug #814194 reported by Jim Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Confirmed
Wishlist
Unassigned

Bug Description

Upon a service being exposed, the exposed hook will be run, if it is present in the formula.

This may be an appropriate place to run the open-port command, however, it is up to the formula author where it should be run, since it and close-port are available commands for every hook.

Likewise, when a service is unexposed, the unexposed hook will be run, if present. Many formulas likely do not need to implement this hook, however, it could be an opportunity to shutdown unnecessary processes or remove other resources.

Jim Baker (jimbaker)
summary: - Implement support for expose and unexpose hooks
+ Implement support for exposed and unexposed hooks
Changed in ensemble:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jim Baker (jimbaker)
milestone: none → dublin
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Confirmed
assignee: Jim Baker (jimbaker) → nobody
importance: Medium → Low
importance: Low → Wishlist
Changed in ensemble:
milestone: dublin → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.