use run-cosmos in fabfile

This commit is contained in:
Leif Johansson 2015-02-24 09:44:33 +01:00
parent 4567098da8
commit 0db53806e6
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.pyc

View file

@ -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");