mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Always retry alternatives.install state
This commit is contained in:
parent
58c36c57cc
commit
080bff7b3d
3 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,9 @@ postgresql-{{ bin }}-altinstall:
|
|||
- onlyif: test -f {{ path }}
|
||||
- require:
|
||||
- pkg: postgresql-client-libs
|
||||
- retry:
|
||||
attempts: 2
|
||||
until: True
|
||||
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
|
|
@ -27,6 +27,9 @@ postgresql-{{ bin }}-altinstall:
|
|||
- onlyif: alternatives --display {{ bin }}
|
||||
{% else %}
|
||||
- onlyif: test -f {{ path }}
|
||||
- retry:
|
||||
attempts: 2
|
||||
until: True
|
||||
{% endif %}
|
||||
|
||||
{%- endfor %}
|
||||
|
|
|
@ -54,6 +54,9 @@ postgresql-{{ bin }}-altinstall:
|
|||
- pkg: postgresql-server
|
||||
- require_in:
|
||||
- cmd: postgresql-cluster-prepared
|
||||
- retry:
|
||||
attempts: 2
|
||||
until: True
|
||||
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue