def all(): require('stage') if helpers.is_selfhosted_etcd(): execute(etcd_selfhosted) else: execute(correct_hostname) execute(etcd)
def etcd_selfhosted(): require('stage') if helpers.is_selfhosted_etcd(): render('etcd-selfhosted/render.sh', env.host)