commit | 3ccae2eb48068d3a37ca57b834458a72c9bfb802 | [log] [tgz] |
---|---|---|
author | Yuriy Taraday <yorik.sar@gmail.com> | Fri May 26 14:28:20 2017 +0400 |
committer | Yuriy Taraday <ytaraday@mirantis.com> | Tue Sep 05 12:55:21 2017 +0000 |
tree | cf0aa545a638b0a2ba002b399ec28c368899e41b | |
parent | 6e82073fce2ade9aaaa4b8c1c3c490ff89b3ec52 [diff] |
Add unless condition to .config_created file creation Otherwise it does change every time. Change-Id: I2047b243a6c6c7bc34951f65851f14b539b1c85d
diff --git a/jenkins/master/user.sls b/jenkins/master/user.sls index d8df637..96639c3 100644 --- a/jenkins/master/user.sls +++ b/jenkins/master/user.sls
@@ -22,5 +22,6 @@ file.touch: - require: - file: {{ master.home }}/users/{{ user_name }}/config.xml + - unless: test -e {{ master.home }}/users/{{ user_name }}/.config_created {%- endfor %}