Merge lp:~axwalk/juju-core/lp1216770-azure-public-storage-defaults into lp:~go-bot/juju-core/trunk
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1714 |
Proposed branch: | lp:~axwalk/juju-core/lp1216770-azure-public-storage-defaults |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
56 lines (+24/-7) 2 files modified
provider/azure/config.go (+10/-7) provider/azure/config_test.go (+14/-0) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/lp1216770-azure-public-storage-defaults |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+182047@code.launchpad.net |
Commit message
azure: set defaults for public storage
Set default configuration values for public storage.
public-
public-
Fixes bug #1216770
Description of the change
azure: set defaults for public storage
Set default configuration values for public storage.
public-
public-
Fixes bug #1216770
To post a comment you must log in.
Reviewers: mp+182047_ code.launchpad. net,
Message:
Please take a look.
Description:
azure: set defaults for public storage
Set default configuration values for public storage. storage- account- name: jujutools storage- container- name: juju-tools
public-
public-
Fixes bug #1216770
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1216770- azure-public- storage- defaults/ +merge/ 182047
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13221043/
Affected files: azure/config. go azure/config_ test.go
A [revision details]
M provider/
M provider/
Index: [revision details] 20130825140921- 3o6xvqsc01lf9v7 q
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: provider/ azure/config. go azure/config. go' azure/config. go 2013-08-09 10:05:33 +0000 azure/config. go 2013-08-26 07:15:46 +0000 certificate" : "", certificate- path": "", storage- account- name": "", storage- container- name": "", storage- account- name": "jujutools", storage- container- name": "juju-tools", account- name: ghedlkjhw54e storage- account- name: public- storage- account storage- container- name: public- storage- container- name storage- account- name: jujutools storage- container- name: juju-tools 2b05eac6a62ebad 85__Ubuntu- 13_10-amd64- server- DEVELOPMENT- 20130713- Juju_ALPHA- en-us-30GB
=== modified file 'provider/
--- provider/
+++ provider/
@@ -26,8 +26,8 @@
"location": "",
"management-
"management-
- "public-
- "public-
+ "public-
+ "public-
// The default is blank, which means "use the first of the base URLs
// that has a matching image." The first base URL is for "released",
// which is what we want, but also a blank default will be easier on
@@ -136,8 +136,8 @@
storage-
# Public Storage info (account name and container name) denoting a public
# container holding the juju tools.
- # public-
- # public-
+ # public-
+ # public-
# Override OS image selection with a fixed image for all deployments.
# Most useful for developers.
# force-image-name:
b39f27a8b8c64d5
Index: provider/ azure/config_ test.go azure/config_ test.go' azure/config_ test.go 2013-08-22 03:50:16 +0000 azure/config_ test.go 2013-08-26 07:15:46 +0000 secretAttrs, gc.DeepEquals, expectedAttrs) lts(c *gc.C) { Map(c) storage- account- name") storage- container- name") New(configMap) vider{} Validate( config, nil) attrs[" public- storage- account- name"], gc.Equals, "jujutools") attrs[" public- storage- container- name"], gc.Equals, "juju-tools")
=== modified file 'provider/
--- provider/
+++ provider/
@@ -229,3 +229,17 @@
}
c.Check(
}
+
+func (*configSuite) TestConfigDefau
+ configMap := makeAzureConfig
+ delete(configMap, "public-
+ delete(configMap, "public-
+ config, err := config.
+ c.Assert(err, gc.IsNil)
+ provider := azureEnvironPro
+ config, err = provider.
+ c.Assert(err, gc.IsNil)
+ attrs := config.AllAttrs()
+ c.Assert(
+ c.Assert(
+}