commit | 44b680caeadec805c7254338fd6ca4b5559d1041 | [log] [tgz] |
---|---|---|
author | Adam Tengler <a.tengler@tcpcloud.eu> | Thu Mar 03 21:24:37 2016 +0100 |
committer | Adam Tengler <a.tengler@tcpcloud.eu> | Thu Mar 03 21:24:51 2016 +0100 |
tree | 8cdcb63b0d7e77709692c10cc84022319b8c78bb | |
parent | 5a79ed103423e9b9ce28723fcaed537fa93fbc62 [diff] |
Orchestration files
diff --git a/galera/orchestrate/init.sls b/galera/orchestrate/init.sls new file mode 100644 index 0000000..e78cedd --- /dev/null +++ b/galera/orchestrate/init.sls
@@ -0,0 +1,14 @@ +galera_master: + salt.state: + - tgt: 'roles:galera.master' + - tgt_type: grain + - sls: galera + +galera_slaves: + salt.state: + - tgt: 'roles:galera.slave' + - tgt_type: grain + - sls: galera + - require: + - salt: galera_master +