From 0cd7c7b20528ce9fbd4f8991a365415a3093546d Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 14 Jun 2021 18:31:06 +0100 Subject: [PATCH] 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 --- nginx/certificates.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/certificates.sls b/nginx/certificates.sls index 2a8330b..8781045 100644 --- a/nginx/certificates.sls +++ b/nginx/certificates.sls @@ -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 %}