Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7999)

Issue 69600043: mongo stuff to agent/mongod, add EnsureMongoServer

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by natefinch
Modified:
10 years, 1 month ago
Reviewers:
mp+208688, wallyworld, rog
Visibility:
Public.

Description

mongo stuff to agent/mongod, add EnsureMongoServer This is part of the EnsureMongoServer work. The EnsureMongoServer function will be used in a different CL, but it was useful to commit it separately. https://code.launchpad.net/~natefinch/juju-core/037-EnsureMongo/+merge/208688 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : mongo stuff to agent/mongod, add EnsureMongoServer #

Patch Set 3 : mongo stuff to agent/mongod, add EnsureMongoServer #

Patch Set 4 : mongo stuff to agent/mongod, add EnsureMongoServer #

Total comments: 22

Patch Set 5 : mongo stuff to agent/mongod, add EnsureMongoServer #

Total comments: 10

Patch Set 6 : mongo stuff to agent/mongod, add EnsureMongoServer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -72 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A agent/mongo/mongo.go View 1 2 3 4 5 1 chunk +169 lines, -0 lines 0 comments Download
A agent/mongo/mongo_test.go View 1 2 3 4 5 1 chunk +146 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit_test.go View 3 chunks +2 lines, -2 lines 0 comments Download
M provider/local/prereqs.go View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M provider/local/prereqs_test.go View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M upstart/service.go View 1 2 3 4 1 chunk +0 lines, -43 lines 0 comments Download
M upstart/upstart.go View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M upstart/upstart_test.go View 1 chunk +0 lines, -20 lines 0 comments Download

Messages

Total messages: 12
natefinch
Please take a look.
10 years, 1 month ago (2014-02-27 21:07:41 UTC) #1
wallyworld
We are missing tests for removeOldMongoServices and ensureMongoServer. I don't think this should land without ...
10 years, 1 month ago (2014-02-28 00:04:23 UTC) #2
natefinch
Please take a look.
10 years, 1 month ago (2014-02-28 21:13:01 UTC) #3
natefinch
Please take a look.
10 years, 1 month ago (2014-02-28 21:16:53 UTC) #4
natefinch
Please take a look.
10 years, 1 month ago (2014-02-28 21:57:59 UTC) #5
natefinch
On 2014/02/28 00:04:23, wallyworld wrote: > We are missing tests for removeOldMongoServices and ensureMongoServer. I ...
10 years, 1 month ago (2014-02-28 22:01:32 UTC) #6
rog
The business logic looks good. I've made some suggestions for changes to the mocking approach. ...
10 years, 1 month ago (2014-03-03 17:04:06 UTC) #7
natefinch
Please take a look. https://codereview.appspot.com/69600043/diff/60001/agent/mongo/mongo.go File agent/mongo/mongo.go (right): https://codereview.appspot.com/69600043/diff/60001/agent/mongo/mongo.go#newcode33 agent/mongo/mongo.go:33: func MockPackage() func() { On ...
10 years, 1 month ago (2014-03-03 19:04:53 UTC) #8
rog
LGTM with a few trivial suggestions. https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go File agent/mongo/mongo.go (right): https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go#newcode29 agent/mongo/mongo.go:29: JujuMongodPath = JujuMongodPathDefault ...
10 years, 1 month ago (2014-03-04 16:24:45 UTC) #9
natefinch
https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go File agent/mongo/mongo.go (right): https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go#newcode29 agent/mongo/mongo.go:29: JujuMongodPath = JujuMongodPathDefault On 2014/03/04 16:24:46, rog wrote: > ...
10 years, 1 month ago (2014-03-04 17:01:04 UTC) #10
rog
On 2014/03/04 17:01:04, nate.finch wrote: > https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go > File agent/mongo/mongo.go (right): > > https://codereview.appspot.com/69600043/diff/80001/agent/mongo/mongo.go#newcode29 > ...
10 years, 1 month ago (2014-03-05 16:18:23 UTC) #11
natefinch
10 years, 1 month ago (2014-03-05 16:25:38 UTC) #12
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b