Author: eallen Date: 2011-03-01 19:57:56 +0000 (Tue, 01 Mar 2011) New Revision: 4563
Modified: trunk/cumin/bin/cumin-admin trunk/cumin/bin/cumin-bench trunk/cumin/bin/cumin-data trunk/cumin/bin/cumin-smoke-test trunk/cumin/bin/cumin-web Log: Restore the ability to put multiple brokers in the config file
Modified: trunk/cumin/bin/cumin-admin =================================================================== --- trunk/cumin/bin/cumin-admin 2011-03-01 15:05:45 UTC (rev 4562) +++ trunk/cumin/bin/cumin-admin 2011-03-01 19:57:56 UTC (rev 4563) @@ -53,8 +53,7 @@ print "Command '%s' is unknown" % name sys.exit(1)
- # take the 1st broker listed - broker_uris = [x.strip() for x in opts.brokers.split(",")[0:1]] + broker_uris = [x.strip() for x in opts.brokers.split(",")]
app = Cumin(config.get_home(), broker_uris, opts.database)
Modified: trunk/cumin/bin/cumin-bench =================================================================== --- trunk/cumin/bin/cumin-bench 2011-03-01 15:05:45 UTC (rev 4562) +++ trunk/cumin/bin/cumin-bench 2011-03-01 19:57:56 UTC (rev 4563) @@ -14,8 +14,7 @@
setup_operational_logging(opts)
- # take the 1st broker listed - broker_uris = [x.strip() for x in opts.brokers.split(",")[0:1]] + broker_uris = [x.strip() for x in opts.brokers.split(",")]
cumin = Cumin(config.get_home(), broker_uris, opts.database)
Modified: trunk/cumin/bin/cumin-data =================================================================== --- trunk/cumin/bin/cumin-data 2011-03-01 15:05:45 UTC (rev 4562) +++ trunk/cumin/bin/cumin-data 2011-03-01 19:57:56 UTC (rev 4563) @@ -19,8 +19,7 @@
model_dir = os.path.join(config.home, "model")
- # take the 1st broker listed - broker_uris = [x.strip() for x in opts.brokers.split(",")[0:1]] + broker_uris = [x.strip() for x in opts.brokers.split(",")]
mint = Mint(model_dir, broker_uris, opts.database)
Modified: trunk/cumin/bin/cumin-smoke-test =================================================================== --- trunk/cumin/bin/cumin-smoke-test 2011-03-01 15:05:45 UTC (rev 4562) +++ trunk/cumin/bin/cumin-smoke-test 2011-03-01 19:57:56 UTC (rev 4563) @@ -19,8 +19,7 @@
setup_operational_logging(opts)
- # take the 1st broker listed - broker_uris = [x.strip() for x in opts.brokers.split(",")[0:1]] + broker_uris = [x.strip() for x in opts.brokers.split(",")]
cumin = Cumin(config.get_home(), broker_uris, opts.database, opts.host, opts.port)
Modified: trunk/cumin/bin/cumin-web =================================================================== --- trunk/cumin/bin/cumin-web 2011-03-01 15:05:45 UTC (rev 4562) +++ trunk/cumin/bin/cumin-web 2011-03-01 19:57:56 UTC (rev 4563) @@ -17,8 +17,7 @@
setup_operational_logging(opts)
- # take the 1st broker listed - broker_uris = [x.strip() for x in opts.brokers.split(",")[0:1]] + broker_uris = [x.strip() for x in opts.brokers.split(",")]
cumin = Cumin(config.get_home(), broker_uris, opts.database, opts.host, opts.port)
cumin-developers@lists.fedorahosted.org