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

Issue 7149043: cmd/jujud: introduce stater

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

Description

cmd/jujud: introduce stater Prereq: https://codereview.appspot.com/7134051/ This proposal introduces a new jujud subcommand, stater. The stater command replaces the current shell scripting built into cloudinit. In future proposals the stater will become a long lived command that is responsible for the configuration of the mongodb upstart job. https://code.launchpad.net/~dave-cheney/juju-core/071-cmd-jujud-stater-I/+merge/143638 Requires: https://code.launchpad.net/~dave-cheney/juju-core/069-worker-stater-I/+merge/143629 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/jujud: introduce stater #

Patch Set 3 : cmd/jujud: introduce stater #

Total comments: 11

Patch Set 4 : cmd/jujud: introduce stater #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -20 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/main.go View 1 chunk +1 line, -0 lines 0 comments Download
A cmd/jujud/stater.go View 1 chunk +29 lines, -0 lines 0 comments Download
A cmd/jujud/stater_test.go View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 2 chunks +1 line, -14 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 4
dave_cheney.net
Please take a look.
11 years, 3 months ago (2013-01-18 04:11:27 UTC) #1
fwereade
https://codereview.appspot.com/7149043/diff/4001/cmd/jujud/main.go File cmd/jujud/main.go (right): https://codereview.appspot.com/7149043/diff/4001/cmd/jujud/main.go#newcode22 cmd/jujud/main.go:22: jujud.Register(&StaterCommand{}) Either this needs a *stater.Config (-1), or the ...
11 years, 3 months ago (2013-01-18 07:39:31 UTC) #2
dave_cheney.net
Please take a look. https://codereview.appspot.com/7149043/diff/4001/cmd/jujud/main.go File cmd/jujud/main.go (right): https://codereview.appspot.com/7149043/diff/4001/cmd/jujud/main.go#newcode22 cmd/jujud/main.go:22: jujud.Register(&StaterCommand{}) On 2013/01/18 07:39:31, fwereade ...
11 years, 3 months ago (2013-01-18 20:18:48 UTC) #3
rog
11 years, 3 months ago (2013-01-23 17:32:30 UTC) #4
i'm not sure that a new jujud subcommand is the way to go.
i believe the right approach is to make the state server
a job run by the machiner.

let's talk live about this.
Sign in to reply to this message.

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