13 Commits

Author SHA1 Message Date
Aleksandr Didenko
a2cae16d31 Allow to customize log_name for services
This patch allows us to customize log_name for:
- proxy-server
- container-server
- object-server
- account-server

Which may be usefull for log collecting/parsing. Defaults remain
as they were before the patch.

Change-Id: I173652ec5bbe8d4382e10db4510d91aebceacab5
2014-10-14 21:14:37 +03:00
Xingchao Yu
8dd197a730 Fix puppet 3.x template variable deprecation warning
Change-Id: I0982c90b79ba4ff0844d5da778ae97b2f5221c37
loses-bug: #1244510
2013-11-01 10:57:53 +08:00
Jenkins
503d3e41c0 Merge "Added the allow_versions flag to enable/disable object versioning in swift object container" 2013-07-22 15:59:07 +00:00
Francesco Vollero
4d96d896ca Added the allow_versions flag to enable/disable object versioning in swift object container
Change-Id: Id78be1a8c3dccd550c92204c4aaa1cf32edcbf61
2013-07-19 16:40:13 +02:00
newptone
6a0e505ee9 Add configurable log for storage server
This patch add configurable log for swift account/container/object
server service.
Partially implements blueprint puppet-swift-log-support.

Change-Id: Ib3db483dfbad97f23ab7ba2068632856b5e00f11
2013-07-18 02:33:07 +00:00
William Van Hevelingen
75e29ee2be Fix Puppet 3.2.x deprecation warnings
Change-Id: I4f6075fb189474ee071fa9b80944a5fe5c062193
2013-07-12 15:40:02 -07:00
Radim Kubacki
3a0413f7f5 Customizable allowed_sync_hosts in container-server.conf
Insert default value into .conf file (127.0.0.1) or use
custom value if specified.

Change-Id: I9caec9657a2a3ad789b7dab646e505f609c25655
2013-05-29 12:39:21 +02:00
Mehdi Abaakouk
b634c440ca Allow customise log_facility in storage server configuration
Change-Id: I4c698b7657dde1d0f1ba6b4043ca9ce992dcdb56
2013-04-10 09:54:05 +02:00
François Charlier
18365a7c43 Reimplement concurrency to be per process
Previously, concurrently was implemented per
storage server type as a global setting.

This commit reimplements concurrency to make it
per process (replicator/updater/reaper)

This is intended to allow the end user more
flexibility over how they implement their
swift cluster.
2012-06-04 13:47:43 -07:00
Dan Bode
59afc07d3b Refactor of swift server configs
This commit performs a refactor of the
swift::storage::config to use fragments.

Updates server templates
  - makes workers,user, and mount_checks configurable
  - adds a default for concurrency
  - makes the pipeline configurable
  - remove vm_test_mode flag

Updates swift::storage::server to use fragments for
the config file.

This has been refactored to allow the end user a
greater level of flexibility over how they can
configure custom plugins for swift.

Also adds additional class params: pipeline,
mount_check, user, workers, concurrency.

Update the unit tests for swift::storage:server
2012-04-21 12:54:17 -07:00
Dan Bode
44b1c56d74 Renamed storage::device to storage::server
Changed the name of the defined resource type:
swift::storage::device to be swift::storage::server.

This change was made in order to better align with
the swift terminology since this define was
configuring a swift component server which has no
direct association with a device.

This commit also makes the swift::storage::server
the only place where the swift server template is
used. This allowed me to assume that the variables
device and bind_port will always be available.

Also updates declarations of the renamed type to
use the correct type name.

Removes the direct server file config from
swift::storage, replacing it instead with
declarations of swift::storage::server.
2012-02-14 14:09:01 -08:00
Dan Bode
d74a7cebaa Calls to scope.lookupvar replaced with has_variable?
The previous calls to sope.lookupvar were very
dependeny on the version of puppet used.

These calls have been replaced with the more
reliable and concise has_variable? method.
2012-01-23 11:43:55 -08:00
Dan Bode
47d49e7780 Initial commit.
This initial commit only targets a single node
swift install on Natty based on 1.4.6
2012-01-19 18:58:37 -08:00