Fix failure highlighted on OpenSUSE Tumbleweed, where the `cmd.run` runs before the `pkg.installed`: * https://gitlab.com/saltstack-formulas/nginx-formula/-/jobs/1345325819#L2830tags/v2.7.2
@@ -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 %} |