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

Issue 5610050: environs/ec2: add code to create juju-specific cloudinit data.

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

Description

When we create another provider, this code will be factored out, but for the time being we'll keep it local to environs/ec2. Also add a function to get ssh authorized keys. https://code.launchpad.net/~rogpeppe/juju/go-ec2-cloudinit/+merge/91062 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/ec2: add code to create juju-specific cloudinit data. #

Total comments: 39

Patch Set 3 : environs/ec2: add code to create juju-specific cloudinit data. #

Patch Set 4 : environs/ec2: add code to create juju-specific cloudinit data. #

Total comments: 2

Patch Set 5 : environs/ec2: add code to create juju-specific cloudinit data. #

Patch Set 6 : environs/ec2: add code to create juju-specific cloudinit data. #

Patch Set 7 : environs/ec2: add code to create juju-specific cloudinit data. #

Total comments: 44

Patch Set 8 : environs/ec2: add code to create juju-specific cloudinit data. #

Patch Set 9 : environs/ec2: add code to create juju-specific cloudinit data. #

Patch Set 10 : environs/ec2: add code to create juju-specific cloudinit data. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+797 lines, -3 lines) Patch
M cloudinit/cloudinit_test.go View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M cloudinit/options.go View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
A environs/ec2/auth.go View 1 2 3 4 5 6 7 8 1 chunk +71 lines, -0 lines 0 comments Download
A environs/ec2/auth_test.go View 1 2 3 4 5 6 7 8 1 chunk +87 lines, -0 lines 0 comments Download
A environs/ec2/cloudinit.go View 1 2 3 4 5 6 7 8 1 chunk +304 lines, -0 lines 0 comments Download
A environs/ec2/cloudinit_test.go View 1 2 3 4 5 6 7 8 1 chunk +314 lines, -0 lines 0 comments Download
M environs/ec2/export_test.go View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M state/util.go View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19
rog
Please take a look.
12 years, 3 months ago (2012-02-01 12:18:55 UTC) #1
rog
Please take a look.
12 years, 3 months ago (2012-02-01 16:11:06 UTC) #2
fwereade
Mostly looks sensible, but I'm not sure about the authorized_keys stuff in particular. https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go File ...
12 years, 3 months ago (2012-02-01 17:17:33 UTC) #3
rog
Please take a look.
12 years, 3 months ago (2012-02-01 18:27:12 UTC) #4
rog
i've added a test for the policy parsing stuff. (it needs more, but i'm not ...
12 years, 3 months ago (2012-02-01 18:30:33 UTC) #5
rog
Please take a look.
12 years, 3 months ago (2012-02-01 18:33:51 UTC) #6
fwereade
https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go File environs/ec2/auth.go (right): https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go#newcode41 environs/ec2/auth.go:41: // authorizedKeys finds an authorized_keys file and returns its ...
12 years, 3 months ago (2012-02-01 21:39:31 UTC) #7
fwereade
https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go File environs/ec2/auth.go (right): https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go#newcode41 environs/ec2/auth.go:41: // authorizedKeys finds an authorized_keys file and returns its ...
12 years, 3 months ago (2012-02-02 10:20:40 UTC) #8
rog
Please take a look.
12 years, 3 months ago (2012-02-02 18:53:37 UTC) #9
rog
PTAL gustavo? https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go File environs/ec2/auth.go (right): https://codereview.appspot.com/5610050/diff/3001/environs/ec2/auth.go#newcode41 environs/ec2/auth.go:41: // authorizedKeys finds an authorized_keys file and ...
12 years, 3 months ago (2012-02-02 18:55:59 UTC) #10
rog
Please take a look.
12 years, 3 months ago (2012-02-03 10:41:33 UTC) #11
rog
Please take a look.
12 years, 3 months ago (2012-02-03 10:43:01 UTC) #12
niemeyer
https://codereview.appspot.com/5610050/diff/8003/cloudinit/options.go File cloudinit/options.go (right): https://codereview.appspot.com/5610050/diff/8003/cloudinit/options.go#newcode6 cloudinit/options.go:6: // of the "launchpad.net/goyaml" Marshal function. // of the ...
12 years, 3 months ago (2012-02-03 14:57:08 UTC) #13
rog
Please take a look.
12 years, 3 months ago (2012-02-03 15:31:13 UTC) #14
rog
PTAL https://codereview.appspot.com/5610050/diff/8003/cloudinit/options.go File cloudinit/options.go (right): https://codereview.appspot.com/5610050/diff/8003/cloudinit/options.go#newcode6 cloudinit/options.go:6: // of the "launchpad.net/goyaml" Marshal function. On 2012/02/03 ...
12 years, 3 months ago (2012-02-03 15:31:26 UTC) #15
niemeyer
LGTM with the test back. Thanks. https://codereview.appspot.com/5610050/diff/8003/environs/ec2/cloudinit.go File environs/ec2/cloudinit.go (right): https://codereview.appspot.com/5610050/diff/8003/environs/ec2/cloudinit.go#newcode189 environs/ec2/cloudinit.go:189: // single-quote becomes ...
12 years, 3 months ago (2012-02-03 16:06:47 UTC) #16
rog
Please take a look.
12 years, 3 months ago (2012-02-03 16:11:41 UTC) #17
rog
added test back. https://codereview.appspot.com/5610050/diff/8003/environs/ec2/cloudinit_test.go File environs/ec2/cloudinit_test.go (right): https://codereview.appspot.com/5610050/diff/8003/environs/ec2/cloudinit_test.go#newcode290 environs/ec2/cloudinit_test.go:290: }, {`N: VAT GEEV?`, On 2012/02/03 ...
12 years, 3 months ago (2012-02-03 16:12:43 UTC) #18
rog
12 years, 3 months ago (2012-02-03 16:13:48 UTC) #19
*** Submitted:

environs/ec2: add code to create juju-specific cloudinit data.

When we create another provider, this code will be factored out,
but for the time being we'll keep it local to environs/ec2.

Also add a function to get ssh authorized keys.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/5610050
Sign in to reply to this message.

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