The puppet-swift modules emit deprecation warnings of the form:
Warning: Variable access via 'pipeline' is deprecated. Use
'@pipeline' instead. template[inline]:2
(at (erb):2:in `result')
These are due to missing @ signs in inline ERB templates in
storage/server.pp and proxy.pp. This patch fixes them.
Change-Id: I3745cfd86c4332f00bc10a0999088691b3833147
Closes-Bug: #1282717
It is possible to disable endpoint configuration by setting
the value of the configure_endpoint and configure_s3_endpoint
parameters to false.
The default value is true, preserving default behavior.
Change-Id: I0f9afb78c181573a30f93dc4f862f86baa3efe31
Closes-bug: #1279071
This parameter is needed to perform a clean object dispersion.
Change-Id: I1c17f49b22fd2b30c022d27a2bc20ce0bd150240
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
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
swift is already set as a owner for File[] resources. This is a
simple cleanup that removes a redundant user declaration. The spec
tests did not verify that default File[] values were applied to
/var/lib/swift.
Change-Id: I608ef39ca8bbf78ca8029a65979db659184baa3f
This adds conditionals to support a installation
in which a user desires to run both swift proxy and
storage on the same node.
Change-Id: I0cc827525968a9d1dc836c553a39f0ac13c4667e
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
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
Bugfix for commit 4157cb9 (uniformisation of pipeline names)
According other swift proxy middlewares, the concat fragments
doesn't contains « proxy » (concat frag. are generated by pipeline)
see l195 and l196 of tests/site.pp
Change-Id: I99f9e5f5282b3e8db89fd56109ec8074ea1fa8f5
- 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
When creating the filter class name the last part is not capitalized.
So Swift::Storage::Filter::Healthcheck[bla] is named
Swift::Storage::Filter::healthcheck[bla]. Puppet don't detect the
syntax error as the resource is "created" within a string. But
puppetdb's parser do not let this work.
This fix it and adjust the tests.
Change-Id: If11c3ad0e98d14b9387b3daa4afeb118387100f8
Closes-Bug: #1252998
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
Use swift_dispersion_config to configure dispersion.conf
Implements: blueprint puppet-swift-ini-settings
Change-Id: I521eefa88e943858f850727f0e57ca35c6b695f2
Use swift_bench_config to configure swift-bench.conf
Implements: blueprint puppet-swift-ini-settings
Change-Id: I97a14f0210aa472876188e66249ea53f34afff72
Puppet does not recommend the use of hyphens in class names.
This change deprecates classes with hyphens and inform the users
to use the new ones. Backward compatibility is preserved.
Change-Id: I4991c956e297d76423a805558d9b6731473a4a51
This change also adds an autorequire in the swift_config
type to ensure the /etc/swift/swift.conf exists.
Change-Id: Ic591a3ceb040c4599339ed7f750a5273d2052ac1
Implements: blueprint puppet-swift-ini-settings