This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.
In details:
* Use shared_examples "a Puppet::Error" for puppet::error tests
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
* Fix spec tests for rspec-puppet 2.0.0
* Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
* Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
* Remove un-used puppet-lint (name_containing_dash config)
Change-Id: I5488507176d4665895eef65ddb4b6f0fb4eda3e7
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
This patch adds the ability to set a new identity_uri parameter.
It also deprecates the old auth_host, auth_port, auth_protocol,
and auth_admin_prefix parameters. Logic is in place so that
users of the deprecated settings should have a smooth upgrade
process and get deprecation warnings until they adopt the
new settings.
Change-Id: Ideefb4d824cbd5b4b83f9eb773a75e536e3458fb
The auth_token middleware that lives in
keystoneclient.middleware.auth_token has been deprecated in favour of
keystonemiddleware.auth_token.
This prints a deprecation warning and means we are not getting new
features.
Closes-Bug: #1428376
Change-Id: If5352801b8105533600965a25f02a577a858f1a2
Including only ssh::server::install class in init.pp give too small scope
and cause warnings about inability to look up ssh::server::ensure.
Closes-Bug: 1355873
Change-Id: I443c9f006b47c609e4a05da38b4a2124acbf886e
include_service_catalog is a parameter in swift authtoken configuration.
Set to False improves performances.
Closes-Bug #1257738
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Change-Id: Ie5dd2de45fce79e4da7ccb5b37d7c69ee1cb5198
- cache=swift.cache need to be in auth_token configuration not in
keystoneauth.
- Make auth_token using the same facility for logging than main swift.
Closes-Bug: #1254487
Change-Id: If5a09da4d18f247dc42b99e6f666bc2867d06dcb
This fix broke everything. Lets revert it.
This reverts commit 23cc3616cea78b8431181af748a1827add18974f.
Change-Id: I9ce82c2e8f65606fbcedb4e2a4b37bc81edc5656
concat::setup has been made a private class and can no longer be
included from modules outside concat itself.
concat::setup is already included by the concat define. Removing
its inclusion from puppet-swift classes shouldn't result in breakage
or loss of functionality.
Change-Id: I7566e09bd4e93aec719a495279cf92d8a898057e
Closes-bug: #1245936
Currently, my swift installation fails with the following
error message:
[Errno 13] Permission denied: '/root/keystone-signing
and the proxy server can never service requests.
This is b/c by default the client side directory for
pki-signing seems to use $HOME. This commits sets the
directory to be /var/cache/swift/ and resolves my
swift-proxy issues.
Change-Id: Ice904a9d53432ba1a1ae9516cd0ee6204ade63bb
Unset default signing dir to allow the keystoneclient to set its own.
The specified /etc/swift location is not ideal and breaks on recent
keystoneclients
Change-Id: I16aadb77ee85e84645fe6745760a2c6edee49c2b
auth_admin_prefix allows the prepend of a prefix to the URL used for
admin tasks. See: https://review.openstack.org/#/c/7156/ for
implementation in Keystone.
auth_uri allows to specify the public authentication url (Keystone's
public endpoint) if it can't be guessed from $auth_host + $auth_protocol
Implements blueprint serve-keystone-from-wsgi
Change-Id: Ic66727f78406d70b5ab5bc07fcc074477df2303c
This commit implements additional proxy middlewares
- catch_errors - handles errors
- ratelimit - limits incoming requests
- s3token - misddleware for s3auth
- swift3 - implement swift APIs
These middlewares needed to be modeled b/c they
are configurable interfaces that needed to be
configurable via Puppet.