aboutsummaryrefslogtreecommitdiff
path: root/scenarios/minio-manual
diff options
context:
space:
mode:
Diffstat (limited to 'scenarios/minio-manual')
-rwxr-xr-xscenarios/minio-manual12
1 files changed, 12 insertions, 0 deletions
diff --git a/scenarios/minio-manual b/scenarios/minio-manual
new file mode 100755
index 0000000..d151584
--- /dev/null
+++ b/scenarios/minio-manual
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+from fragments import shared, flavor, minio
+import sys
+
+for fl in sys.argv[1:]:
+ if fl in flavor.minio:
+ minio.version = flavor.minio[fl]
+
+if shared.id() == 1:
+ minio.deploy_coord()
+else:
+ minio.deploy_follow()