use run-cosmos in fabfile
This commit is contained in:
parent
4567098da8
commit
0db53806e6
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.pyc
|
|
@ -17,7 +17,7 @@ def all():
|
||||||
env.hosts = cosmos_db()['members']['all']
|
env.hosts = cosmos_db()['members']['all']
|
||||||
|
|
||||||
def cosmos():
|
def cosmos():
|
||||||
run("cosmos update ; cosmos -v apply");
|
run("/usr/local/bin/run-cosmos");
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
run("apt-get -qq update && apt-get -y -q dist-upgrade");
|
run("apt-get -qq update && apt-get -y -q dist-upgrade");
|
||||||
|
|
Loading…
Reference in a new issue