fix glusterfs install
Change-Id: Id4138a9f098aa59d13eb1e923023a3bd2590952e
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 1dd7fe1..383444b 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -228,13 +228,13 @@
//runSaltProcessStep(saltMaster, 'I@glusterfs:server', 'state.sls', ['glusterfs.server.setup'], 1)
if (INSTALL.toLowerCase().contains('kvm')) {
- salt.enforceState(saltMaster, 'ctl01*', 'glusterfs.server.setup', true)
- salt.enforceState(saltMaster, 'ctl02*', 'glusterfs.server.setup', true)
- salt.enforceState(saltMaster, 'ctl03*', 'glusterfs.server.setup', true)
- } else {
salt.enforceState(saltMaster, 'kvm01*', 'glusterfs.server.setup', true)
salt.enforceState(saltMaster, 'kvm02*', 'glusterfs.server.setup', true)
salt.enforceState(saltMaster, 'kvm03*', 'glusterfs.server.setup', true)
+ } else {
+ salt.enforceState(saltMaster, 'ctl01*', 'glusterfs.server.setup', true)
+ salt.enforceState(saltMaster, 'ctl02*', 'glusterfs.server.setup', true)
+ salt.enforceState(saltMaster, 'ctl03*', 'glusterfs.server.setup', true)
}
salt.runSaltProcessStep(saltMaster, 'I@glusterfs:server', 'cmd.run', ['gluster peer status'])