aboutsummaryrefslogtreecommitdiff
path: root/scenarios/minio-manual
blob: d1515840303c30bb2c94fa921ae06ab30cb3a68e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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()