#!/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()
