Skip to content

Commit

Permalink
fix(certificates): ensure openssl installed before cmd.run
Browse files Browse the repository at this point in the history
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
  • Loading branch information
myii committed Jun 14, 2021
1 parent 6cb486d commit 0cd7c7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx/certificates.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 0cd7c7b

Please sign in to comment.