Merge lp:~tvansteenburgh/charms/precise/keystone/fix-tests into lp:~openstack-charmers-archive/charms/precise/keystone/trunk

Proposed by Tim Van Steenburgh
Status: Merged
Merged at revision: 67
Proposed branch: lp:~tvansteenburgh/charms/precise/keystone/fix-tests
Merge into: lp:~openstack-charmers-archive/charms/precise/keystone/trunk
Diff against target: 59 lines (+14/-2)
2 files modified
Makefile (+10/-2)
config.yaml (+4/-0)
To merge this branch: bzr merge lp:~tvansteenburgh/charms/precise/keystone/fix-tests
Reviewer Review Type Date Requested Status
Charles Butler (community) Approve
Review via email: mp+234222@code.launchpad.net

Description of the change

Fix tests, proof.

To post a comment you must log in.
Revision history for this message
Charles Butler (lazypower) wrote :

+1 LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile'
--- Makefile 2014-05-21 10:13:58 +0000
+++ Makefile 2014-09-10 22:38:16 +0000
@@ -5,9 +5,14 @@
5 @flake8 --exclude hooks/charmhelpers hooks unit_tests5 @flake8 --exclude hooks/charmhelpers hooks unit_tests
6 @charm proof6 @charm proof
77
8test:8test: .venv
9 @echo Starting tests...9 @echo Starting tests...
10 @$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage unit_tests10 .venv/bin/nosetests --nologcapture --with-coverage unit_tests
11
12.venv:
13 sudo apt-get install -y python-virtualenv python-apt python-keystoneclient
14 virtualenv .venv --system-site-packages
15 .venv/bin/pip install -I nose mock pyyaml
1116
12sync:17sync:
13 @charm-helper-sync -c charm-helpers.yaml18 @charm-helper-sync -c charm-helpers.yaml
@@ -15,3 +20,6 @@
15publish: lint test20publish: lint test
16 bzr push lp:charms/keystone21 bzr push lp:charms/keystone
17 bzr push lp:charms/trusty/keystone22 bzr push lp:charms/trusty/keystone
23
24clean:
25 rm -rf .venv
1826
=== modified file 'config.yaml'
--- config.yaml 2014-03-27 10:54:38 +0000
+++ config.yaml 2014-09-10 22:38:16 +0000
@@ -92,6 +92,7 @@
92 # HA configuration settings92 # HA configuration settings
93 vip:93 vip:
94 type: string94 type: string
95 default:
95 description: "Virtual IP to use to front keystone in ha configuration"96 description: "Virtual IP to use to front keystone in ha configuration"
96 vip_iface:97 vip_iface:
97 type: string98 type: string
@@ -128,6 +129,7 @@
128 description: "Use SSL for Keystone itself. Set to 'yes' to enable it."129 description: "Use SSL for Keystone itself. Set to 'yes' to enable it."
129 ssl_cert:130 ssl_cert:
130 type: string131 type: string
132 default:
131 description: |133 description: |
132 SSL certificate to install and use for API ports. Setting this value134 SSL certificate to install and use for API ports. Setting this value
133 and ssl_key will enable reverse proxying, point Keystone's entry in the135 and ssl_key will enable reverse proxying, point Keystone's entry in the
@@ -135,9 +137,11 @@
135 issued by Keystone (if it is configured to do so).137 issued by Keystone (if it is configured to do so).
136 ssl_key:138 ssl_key:
137 type: string139 type: string
140 default:
138 description: SSL key to use with certificate specified as ssl_cert.141 description: SSL key to use with certificate specified as ssl_cert.
139 ssl_ca:142 ssl_ca:
140 type: string143 type: string
144 default:
141 description: |145 description: |
142 SSL CA to use with the certificate and key provided - this is only146 SSL CA to use with the certificate and key provided - this is only
143 required if you are providing a privately signed ssl_cert and ssl_key.147 required if you are providing a privately signed ssl_cert and ssl_key.

Subscribers

People subscribed via source and target branches