commit | 01803f6bd5d785a98f103cf85b133dce9f7145db | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Tue Apr 12 17:25:47 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Tue Apr 12 17:25:47 2016 +0200 |
tree | dedccd35389c433ceb22fcbce9928e61f5010ecc | |
parent | c4c6d0923666410fac9a4fc614f6f10a367a4fbd [diff] |
Use batch only on newer salt
diff --git a/glusterfs/orchestrate/init.sls b/glusterfs/orchestrate/init.sls index 82229d7..2909c58 100644 --- a/glusterfs/orchestrate/init.sls +++ b/glusterfs/orchestrate/init.sls
@@ -8,7 +8,9 @@ salt.state: - tgt: 'roles:glusterfs.server' - tgt_type: grain + {%- if grains['saltversion'] < "2016.3.0" %} - batch: 1 + {%- endif %} - sls: glusterfs.server.setup - require: - salt: glusterfs_server_service