10 Commits

Author SHA1 Message Date
David Moreau Simard
c26875a010 Cleanup, Improve coverage of swift::keystone::auth spec tests
Refactor with shared examples, improves coverage with 12 additional
tests.

Change-Id: Ie686af051f11941a88ea479b1d9187560f8140bb
2014-02-03 18:07:33 -05:00
David Moreau Simard
f8fbd8addf Remove deprecated parameter 'address'
The address parameter has been deprecated since 2.0.0.

Change-Id: I57b8469fb816c37c9d6a285c07796f685b121a90
2014-01-31 15:59:32 -05:00
David Moreau Simard
a5b5e1211f Allow configuration of admin and internal protocols for keystone endpoint
The public address is already configurable (http or https). This change
introduces the possibility of also configuring admin and internal endpoint
protocols as well. They are defaulted to http and therefore the change is
non-breaking and backwards compatible.
There was also no existing spec tests for overriding the public protocol,
this is fixed in this commit.

Change-Id: I1baafa444636729c4b73d2cca0753f6348fbd2a0
2014-01-17 15:38:00 -05:00
Matthew Mosesohn
14a2bd8c4f Create swift operator keystone roles
Defining operator_roles in swift-proxy.conf requires
that these roles exist in keystone.

Because Keystone API access is not available on Swift
proxy hosts in most cases, operator_roles keystone
roles have been added to swift::keystone::auth class.

Added basic docs for swift::keystone::auth

Change-Id: Ib8454f8ae1316d2589ff228ec1424c6cff69c6b5
Closes-Bug: #1261662
2013-12-17 16:32:01 +04:00
newptone
004b8b4148 Add address params to the swift::keystone::auth
Fix bug 1170194

   This patch contains:
       * add param admin_address and internal_address
       * fix tab misusing

Change-Id: Id3865240a3d5d289c557fd8cc51d6f1d77057ed8
2013-04-24 16:13:04 +08:00
François Charlier
e8a478df59 Remove traling / from keystone admin_url endpoint
Change-Id: I567c3dbb4f4e498365074fd64a5f70395c6f7cd7
2013-04-11 16:14:38 +02:00
Mehdi Abaakouk
e437b44d44 Allow to have a different internal address and public address
Change-Id: Id87323393a3bfd0ac3c9bc80fa2f46775e102eea
2013-04-10 10:03:41 +02:00
Mehdi Abaakouk
4f77fa42ad Allow to have a different internal port and public port 2012-12-20 11:58:10 +01:00
Derek Higgins
995ec33b13 Fixed tests 2012-11-15 11:46:05 +00:00
Dan Bode
83b8466eb0 Add tests for swift::keystone::auth
Adds rspec-puppet tests for the swift::keystone::auth class.
2012-05-29 13:06:21 -07:00