Ensure app/filter factory options exist
All middleware filters and apps enabled in pipeline should have
the corresponding factory option (use = ... ) but the lines may not
exist in case the config file does not exist or is generated in advance
incompletely.
Change-Id: I714fe28547ea8308d7e82b66687ea0f24f816cda
(cherry picked from commit a123fd166b
)
This commit is contained in:
parent
74f596584e
commit
fee4693a54
@ -163,6 +163,13 @@ class swift::containerreconciler(
|
||||
}
|
||||
}
|
||||
|
||||
swift_container_reconciler_config {
|
||||
'app:proxy-server/use': value => 'egg:swift#proxy';
|
||||
'filter:proxy-logging/use': value => 'egg:swift#proxy_logging';
|
||||
'filter:catch_errors/use': value => 'egg:swift#catch_errors';
|
||||
'filter:cache/use': value => 'egg:swift#memcache';
|
||||
}
|
||||
|
||||
swift_container_reconciler_config {
|
||||
'pipeline:main/pipeline': value => join($pipeline, ' ');
|
||||
'container-reconciler/interval': value => $interval;
|
||||
|
@ -182,7 +182,10 @@ class swift::objectexpirer(
|
||||
}
|
||||
|
||||
swift_object_expirer_config {
|
||||
'filter:proxy-logging/use': value => 'egg:swift#proxy_logging'
|
||||
'app:proxy-server/use': value => 'egg:swift#proxy';
|
||||
'filter:proxy-logging/use': value => 'egg:swift#proxy_logging';
|
||||
'filter:catch_errors/use': value => 'egg:swift#catch_errors';
|
||||
'filter:cache/use': value => 'egg:swift#memcache';
|
||||
}
|
||||
|
||||
swift_object_expirer_config {
|
||||
|
Loading…
Reference in New Issue
Block a user