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

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

    [ https://bro-tracker.atlassian.net/browse/BIT-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605#comment-16605 ] 

Justin Azoff commented on BIT-1194:

Hmm, is that the only thing that it needs to work?  if so, maybe makeConfig(..) just needs to be ran automatically anytime a change in broctl.cfg is detected.

> 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