Code Review
/
salt-formulas
/
cinder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fc21b8b
)
Update db_cleanup state for pike
58/86258/6
author
Oleksii Molchanov
<omolchanov@mirantis.com>
Fri, 27 Nov 2020 12:07:49 +0000
(14:07 +0200)
committer
Vladimir Khlyunev
<vkhlyunev@mirantis.com>
Wed, 2 Dec 2020 12:11:24 +0000
(16:11 +0400)
Prod-Related: PROD-35962
Signed-off-by: Oleksii Molchanov <omolchanov@mirantis.com>
Change-Id: I1429d2196544a59667cbe0d4b687f422d618b1c8
cinder/db/db_cleanup.sls
patch
|
blob
|
history
diff --git
a/cinder/db/db_cleanup.sls
b/cinder/db/db_cleanup.sls
index cc0fae7e0188f3bd8d7a1c2ba54587c22b564374..f223b8cbc7fbaa6e33ae9295acfe0174ab8d0b19 100644
(file)
--- a/
cinder/db/db_cleanup.sls
+++ b/
cinder/db/db_cleanup.sls
@@
-4,6
+4,8
@@
{%- if controller.db_purge.days is defined %}
{%- set cmd_args = controller.db_purge.days|string %}
+{%- elif controller.version == 'pike' %}
+{%- set cmd_args = '1' %}
{%- else %}
{%- set cmd_args = '0' %}
{%- endif %}