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