Browse Source

fix(certificates): ensure `openssl` installed before `cmd.run`

Fix failure highlighted on OpenSUSE Tumbleweed, where the `cmd.run` runs
before the `pkg.installed`:

* https://gitlab.com/saltstack-formulas/nginx-formula/-/jobs/1345325819#L2830
tags/v2.7.2
Imran Iqbal 3 years ago
parent
commit
0cd7c7b205
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/certificates.sls

+ 1
- 0
nginx/certificates.sls View File

@@ -30,6 +30,7 @@ generate_nginx_dhparam_{{ dh_param }}_key:
- creates: {{ certificates_path }}/{{ dh_param }}
- require:
- file: prepare_certificates_path_dir
- pkg: generate_nginx_dhparam_{{ dh_param }}_key
- watch_in:
- service: nginx_service
{%- endif %}

Loading…
Cancel
Save