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

Issue 7128047: environs/agent: add server cert and key

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by rog
Modified:
11 years, 3 months ago
Reviewers:
mp+143666
Visibility:
Public.

Description

environs/agent: add server cert and key https://code.launchpad.net/~rogpeppe/juju-core/194-agent-server-cert/+merge/143666 Requires: https://code.launchpad.net/~rogpeppe/juju-core/188-agent-mongo-addr/+merge/143286 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/agent: add server cert and key #

Patch Set 3 : environs/agent: add server cert and key #

Total comments: 4

Patch Set 4 : environs/agent: add server cert and key #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -22 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/agent/agent.go View 1 chunk +5 lines, -0 lines 0 comments Download
M environs/agent/agent_test.go View 1 chunk +3 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 2 chunks +6 lines, -14 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 2 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 4
TheMue
LGTM, agent configuration is growing. ;)
11 years, 3 months ago (2013-01-17 12:34:17 UTC) #1
rog
Please take a look.
11 years, 3 months ago (2013-01-18 14:43:58 UTC) #2
niemeyer
LGTM, assuming things still work for real when using juju against Amazon. https://codereview.appspot.com/7128047/diff/1006/environs/cloudinit/cloudinit.go File environs/cloudinit/cloudinit.go ...
11 years, 3 months ago (2013-01-18 14:48:27 UTC) #3
rog
11 years, 3 months ago (2013-01-18 15:16:45 UTC) #4
*** Submitted:

environs/agent: add server cert and key

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/7128047

https://codereview.appspot.com/7128047/diff/1006/environs/cloudinit/cloudinit.go
File environs/cloudinit/cloudinit.go (left):

https://codereview.appspot.com/7128047/diff/1006/environs/cloudinit/cloudinit...
environs/cloudinit/cloudinit.go:120: addFile(c, serverKey,
string(cfg.StateServerKey), 0600)
On 2013/01/18 14:48:27, niemeyer wrote:
> Is it okay to drop these files?

yes - i added them in the expectation that they'd be used by jujud, but that was
before agent.Conf emerged.

https://codereview.appspot.com/7128047/diff/1006/environs/cloudinit/cloudinit.go
File environs/cloudinit/cloudinit.go (right):

https://codereview.appspot.com/7128047/diff/1006/environs/cloudinit/cloudinit...
environs/cloudinit/cloudinit.go:173: StateInfo:       *cfg.StateInfo,
On 2013/01/18 14:48:27, niemeyer wrote:
> Why do the structures have different representations for the same setting? 

that's a good question. for some reason i thought it was nicer to use StateInfo
by value in agent.Conf, but i can't see a good reason now :-)

will change it in a future CL.
Sign in to reply to this message.

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