Skip to content

Reimplement st2_handler in Ruby #3

@userlocalhost

Description

@userlocalhost

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions