on_event values

3 views
Skip to first unread message

Jason Meridth

unread,
May 14, 2009, 3:53:57 PM5/14/09
to Cerberus
I see:

none
all
successful
setup

is the one for failure, "failure" or "fail" or doesn't exist?

I've searched the source and can't find it.

Thanks in advance.

Jason Meridth

Craig Jolicoeur

unread,
May 14, 2009, 4:02:32 PM5/14/09
to cerbe...@googlegroups.com
The current available "states" are

setup
broken
failed
revival
successful

Craig Jolicoeur

unread,
May 14, 2009, 4:04:25 PM5/14/09
to cerbe...@googlegroups.com
The states are set in lib/cerberus/manager.rb

In the #current_state method.

These "states" are what is used in the hooks system.

On Thu, May 14, 2009 at 3:53 PM, Jason Meridth <jmer...@gmail.com> wrote:
>

Jason Meridth

unread,
May 14, 2009, 4:06:10 PM5/14/09
to cerbe...@googlegroups.com
Well, it's officially, I have blinders on with the cerberus code.

Thanks Craig.  I even looked at the manager.rb file and didn't event see those.

Sincerely,
---
Jason Meridth
http://jason.lostechies.com
Reply all
Reply to author
Forward
0 new messages