-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Backgroun
The Handler of st2_handler is wrapped by Ruby but the main processing is implemented in Python because this is ported from the stackstorm-sensu which is a project written by the Python.
Problem
The sensu plugin installer (sensu-install) doesn't install the Python libraries on which the st2 handler depends at the installation. So a runtime error may be occurred because of the failure of importing libraries.
Proposal
If the we could specify the handler which is called after the gem installation (like the postinst script of debian-package) in the gemspec, this problem would be solved easily, I think.
But we can't specify that kind of script as far as I know.
So I would like to reimplement the st2_handler in Ruby.