[REV] add depends for install_network #24

This commit is contained in:
ysicing 2018-01-03 17:52:12 +08:00
parent 8ad653c9d0
commit 11249f790c
2 changed files with 7 additions and 2 deletions

View File

@ -45,7 +45,7 @@ function prepare() {
log.info "install network plugins calico-node"
log.info "prepare network env"
[ -d "/etc/goodrain/envs" ] || mkdir -pv /etc/goodrain/envs
docker images | grep calico || docker pull $calico_node_image
docker pull $calico_node_image
}
function proc::is_running() {

View File

@ -40,7 +40,12 @@
"rainbond_node_rule_manage": "true"
},
"nodes": [],
"depends": []
"depends": [
{
"depend_task_id": "install_docker",
"strategy": "SameNode"
}
]
},
"run_mode": "onlyonce",
"is_once": true