
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
22 lines
398 B
Plaintext
22 lines
398 B
Plaintext
[DEFAULT]
|
|
devices = <%= devices %>
|
|
bind_ip = <%= storage_local_net_ip %>
|
|
bind_port = <%= bind_port %>
|
|
mount_check = <%= mount_check %>
|
|
user = <%= user %>
|
|
log_facility = LOG_LOCAL2
|
|
workers = <%= workers %>
|
|
concurrency = <%= concurrency %>
|
|
|
|
[pipeline:main]
|
|
pipeline = <%= pipeline.to_a.join(' ') %>
|
|
|
|
[app:object-server]
|
|
use = egg:swift#object
|
|
|
|
[object-replicator]
|
|
|
|
[object-updater]
|
|
|
|
[object-auditor]
|