Orchestration metadata and statestags/2016.12
@@ -0,0 +1,6 @@ | |||
orchestrate: | |||
master: | |||
priority: 140 | |||
slave: | |||
priority: 150 | |||
@@ -1,14 +0,0 @@ | |||
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 | |||
@@ -0,0 +1,18 @@ | |||
galera.master: | |||
salt.state: | |||
- tgt: 'galera:master' | |||
- tgt_type: pillar | |||
- queue: True | |||
- sls: galera.master | |||
- batch: 1 | |||
galera.server: | |||
salt.state: | |||
- tgt: 'galera:master' | |||
- tgt_type: pillar | |||
- queue: True | |||
- sls: galera.server | |||
- batch: 1 | |||
- require: | |||
- salt: galera.master | |||
@@ -0,0 +1,10 @@ | |||
galera.slave: | |||
salt.state: | |||
- tgt: 'galera:slave' | |||
- tgt_type: pillar | |||
- queue: True | |||
- sls: galera.slave | |||
- batch: 1 | |||
- require: | |||
- salt: galera.server | |||