commit | 651f9dda646274a89e11e5fa5a853ed79ca624ab | [log] [tgz] |
---|---|---|
author | Ales Komarek <mail@newt.cz> | Thu Apr 30 16:41:19 2015 +0200 |
committer | Ales Komarek <mail@newt.cz> | Thu Apr 30 16:41:19 2015 +0200 |
tree | af5d8a7dd92bb355a21bfbbe1ad73839f41667f8 | |
parent | 2ff5486f3c9f363558dad6c3c50a6f23839592d9 [diff] |
fix command
diff --git a/galera/slave.sls b/galera/slave.sls index 0a109f0..1381d82 100644 --- a/galera/slave.sls +++ b/galera/slave.sls
@@ -21,7 +21,7 @@ - require: - pkg: galera_packages -{%- if not salt['cmd.run']('test -e /root/.galera_bootstrap') %} +{%- if salt['cmd.run']('test -e /root/.galera_bootstrap; echo $?') != '0' %} galera_bootstrap_temp_config: file.managed: