[Bro-Dev] [JIRA] (BIT-1194) broctl deploy command

Justin Azoff (JIRA) jira at bro-tracker.atlassian.net
Tue May 20 06:59:07 PDT 2014

Justin Azoff created BIT-1194:

             Summary: broctl deploy command
                 Key: BIT-1194
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1194
             Project: Bro Issue Tracker
          Issue Type: New Feature
          Components: BroControl
    Affects Versions: git/master
            Reporter: Justin Azoff

(mostly notes for me right now)

Currently broctl makes it too easy for an end user to do the wrong thing when changing the bro config.

restart --clean is close, however, it does things in this order:

stop -> clean -> check -> install -> start

This is bad because in the event of a 'check' failure bro will not restart.

So, I think what needs to be done is 'restart --clean' should only do:

stop -> clean -> start

and a new command 'broctl deploy' should do

check -> install -> restart

'broctl deploy --clean' can do

check -> stop -> clean -> install -> start

Also, I think the 'install' operation should always run 'check', is there any reason it shouldn't?  Would someone every want to force install a broken config?

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list