[Bro-Dev] [JIRA] (BIT-1194) broctl deploy command
Daniel Thayer (JIRA)
jira at bro-tracker.atlassian.net
Tue May 20 08:19:07 PDT 2014
[ https://bro-tracker.atlassian.net/browse/BIT-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604#comment-16604 ]
Daniel Thayer commented on BIT-1194:
------------------------------------
> 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?
One exception is that 'check' will fail until the first time 'install' is run (because of broctl-config.sh).
> 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
(v6.3-OD-04-019#6322)
More information about the bro-dev
mailing list