Code Review
/
salt-formulas
/
cinder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Update db_cleanup state for pike
[salt-formulas/cinder.git]
/
cinder
/
db
/
db_cleanup.sls
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 %}