From b26b99d3d0a48dfe1142b0a35a151b558b4d4b73 Mon Sep 17 00:00:00 2001 From: James Howe <675056+OrangeDog@users.noreply.github.com> Date: Thu, 4 Jun 2020 16:48:43 +0100 Subject: [PATCH] fix(config_ini): ensure the tab replacement happens before the edit Otherwise #162 can still happen --- openssh/config_ini.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openssh/config_ini.sls b/openssh/config_ini.sls index 3603eb1..8ff93d0 100644 --- a/openssh/config_ini.sls +++ b/openssh/config_ini.sls @@ -27,4 +27,6 @@ sshd_config-with-ini: {%- for k,v in sshd_config.items() %} {{ k }}: '{{ v }}' {%- endfor %} + - require: + - file: sshd_config-with-ini {%- endif %}