13 lines
250 B
Text
13 lines
250 B
Text
|
#!/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()
|