Allow swift object versioning to be enabled

By default, allowed_versions (swift object versioning) is disabled.
This change allows the deployer to determine if this feature should be
enabled or disabled.  The default value in the os_swift role for this
feature is True (enabled).

Change-Id: I837e0c0d063cacf911ba2461af21df3da5791afb
Closes-Bug: 1427154
This commit is contained in:
Matt Thompson 2015-03-02 11:35:01 +00:00
parent 96256b93f4
commit 95ed4f6a9b
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@ swift_default_min_part_hours: 1
swift_default_host_zone: 0
swift_default_host_region: 1
swift_default_drive_weight: 100
swift_allow_versions: True
## Swift Auth
swift_service_admin_tenant_name: "service"

View File

@ -23,6 +23,7 @@ pipeline = healthcheck recon container-server
[app:container-server]
use = egg:swift#container
log_facility = LOG_LOCAL3
allow_versions = {{ swift_allow_versions }}
[filter:healthcheck]
use = egg:swift#healthcheck