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

Unified Diff: juju/environment/config.py

Issue 5934054: Enable ssl-hostname-verification config option for ec2 provider
Patch Set: Enable ssl-hostname-verification config option for ec2 provider Created 5 years, 9 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 | « [revision details] ('k') | juju/environment/tests/test_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: juju/environment/config.py
=== modified file 'juju/environment/config.py'
--- juju/environment/config.py 2012-02-29 20:38:01 +0000
+++ juju/environment/config.py 2012-03-28 17:02:56 +0000
@@ -29,6 +29,7 @@
control-bucket: %(control-bucket)s
admin-secret: %(admin-secret)s
default-series: oneiric
+ ssl-hostname-verification: true
"""
@@ -51,13 +52,17 @@
"default-ami": String(),
"ec2-uri": String(),
"s3-uri": String(),
+ "ssl-hostname-verification": OneOf(
+ Constant(True),
+ Constant(False)),
"placement": OneOf(
Constant("unassigned"),
Constant("local")),
"default-series": String()},
optional=["access-key", "secret-key",
"default-instance-type", "default-ami",
- "region", "ec2-uri", "s3-uri", "placement"]),
+ "region", "ec2-uri", "s3-uri", "placement",
+ "ssl-hostname-verification"]),
"orchestra": KeyDict({"orchestra-server": String(),
"orchestra-user": String(),
"orchestra-pass": String(),
« no previous file with comments | « [revision details] ('k') | juju/environment/tests/test_config.py » ('j') | no next file with comments »

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