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
* Disable warnings for "line has more than 80 characters"
* Disable warnings for "parameterised class parameter without a default value"
We do not wish to track warnings for such violations.
Change-Id: Id4e7ab198575ebe8e0c6cb8803ab96495bac1d65
* Fix following warnings:
* double quoted string containing no variables
* indentation of => is not properly aligned
* mode should be represented as a 4 digit octal value or symbolic mode
* string containing only a variable
* top-scope variable being used without an explicit namespace
* unquoted file mode
* variable not enclosed in {}
* Fix following errors:
* trailing whitespace found
* two-space soft tabs not used
* Remove quotes around class in include/require statements
Change-Id: Ia920d848e1955612a6486ec8731309e6d3a70f63
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
This patch add configurable log for swift proxy-server service.
And add related spec test.
Partially implements blueprint puppet-swift-log-support.
Change-Id: I385093b3e63f8210d83ec125e6d2578b06b631d4
Previous configuration file management method used templates.
This method had limited flexibility and was cumbersome
to use and maintain between upstream versions.
This change introduces new custom types based on ini_setting:
* swift_account_config: /etc/swift/account-server.conf
* swift_bench_config: /etc/swift/swift-bench.conf
* swift_config: /etc/swift/swift.conf
* swift_container_config: /etc/swift/container-server.conf
* swift_dispersion_config: /etc/swift/dispersion.conf
* swift_object_config: /etc/swift/object-server.conf
* swift_proxy_config: /etc/swift/proxy-server.conf
The use of ini_setting offers multiple advantages:
* Ability to individually manage configuration settings without
the need to modify templates. This allows the user to manage or
override settings that aren't handled by the module.
* Use upstream default values if none is provided.
* Remove the need to maintain and synchronize templates
to match upstream versions. Such maintenance could become
problematic and complicated if multiple upstream versions
are supported but have different base configuration files.
Implements: blueprint puppet-swift-ini-settings
Change-Id: Iba7be64581b81b8ab4f33cf7096df37e64ccc4b4
This patch add configurable log for swift account/container/object
server service.
Partially implements blueprint puppet-swift-log-support.
Change-Id: Ib3db483dfbad97f23ab7ba2068632856b5e00f11
This patch adds a conf file swift-bench.conf
for swift performance bench, and add a spec
test for it.
Fixed bug 1188968
Change-Id: Iafb67f116a9403bba96328be7c9c09d21a65a74c