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

Unified Diff: environs/cloudinit/cloudinit.go

Issue 6493101: WIP: add "agent" services and run the provisioner as one.
Patch Set: Created 12 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « container/container_test.go ('k') | environs/cloudinit/cloudinit_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/cloudinit/cloudinit.go
=== modified file 'environs/cloudinit/cloudinit.go'
--- environs/cloudinit/cloudinit.go 2012-09-06 14:54:50 +0000
+++ environs/cloudinit/cloudinit.go 2012-09-07 10:13:33 +0000
@@ -24,9 +24,6 @@
// Creation of cloudinit data from this struct is largely provider-independent,
// but we'll keep it internal until we need to factor it out.
type MachineConfig struct {
- // Provisioner specifies whether the new machine will run a provisioning agent.
- Provisioner bool
-
// StateServer specifies whether the new machine will run a ZooKeeper
// or MongoDB instance.
StateServer bool
@@ -139,11 +136,6 @@
if err := addAgentScript(c, cfg, "machine", fmt.Sprintf("--machine-id %d "+debugFlag, cfg.MachineId)); err != nil {
return nil, err
}
- if cfg.Provisioner {
- if err := addAgentScript(c, cfg, "provisioning", debugFlag); err != nil {
- return nil, err
- }
- }
// general options
c.SetAptUpgrade(true)
« no previous file with comments | « container/container_test.go ('k') | environs/cloudinit/cloudinit_test.go » ('j') | no next file with comments »

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