1
0
Fork 0
Esse commit está contido em:
Stephen McQuay 2013-01-24 19:03:49 -08:00
commit afa0a2899e
6 arquivos alterados com 7 adições e 0 exclusões

Ver arquivo

@ -1,5 +1,6 @@
from fabric.api import run, local
def run_tests():
local("echo running tests")
# local("false")

Ver arquivo

@ -5,6 +5,7 @@ env.roledefs = {
'db': ['db1', 'db2']
}
def cd_example():
with cd('/tmp'):
run('pwd')

Ver arquivo

@ -1,4 +1,5 @@
from fabric.api import run
def hello():
run("ls")

Ver arquivo

@ -2,5 +2,6 @@ from fabric.api import env, run
env.hosts = ['web1', 'web2', 'web3']
def hello():
run('hostname')

Ver arquivo

@ -1,8 +1,10 @@
from fabric.api import env, run
env.roledefs = {
'web': ['web1', 'web2', 'web3'],
'db': ['db1', 'db2']
}
def hello():
run('hostname')

Ver arquivo

@ -1,5 +1,6 @@
from fabric.api import run, local
def run_tests():
local("echo running tests")
# local("false")