autodesk-cloud / ochopod

Your friendly orchestration overlay over Mesos, K8S and more !
http://autodesk-cloud.github.io/ochopod/
Apache License 2.0
122 stars 20 forks source link

Support for post configure callback in LifeCycle #16

Closed stphung closed 9 years ago

stphung commented 9 years ago

Currently there is a pre configure callback in the LifeCycle class (can_configure). It would be great if there was a similar callback which happened post configuration.

My use case is that I want to edit iptable rules before and after configuration for haproxy.

opaugam commented 9 years ago

define the configured() callback et voila !