aboutsummaryrefslogtreecommitdiff
path: root/scenarios/minio-manual
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-23 17:55:45 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-23 17:55:45 +0200
commitc9cbe5fc5250d9df9ade95e01aab7ae420c33197 (patch)
tree57700d3d9f8a1ebe16edbdced9944b0464a7170e /scenarios/minio-manual
parent0664442648a8fd3627fc3d72c3bb33155612aadf (diff)
downloadmknet-c9cbe5fc5250d9df9ade95e01aab7ae420c33197.tar.gz
mknet-c9cbe5fc5250d9df9ade95e01aab7ae420c33197.zip
Add some support for minio
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()