Fix some silly fabric issues

This commit is contained in:
2010-11-08 13:35:11 +00:00
parent bb07455a52
commit ce1b634bdb
2 changed files with 2 additions and 4 deletions

4
fabfile.py vendored
View File

@@ -92,9 +92,7 @@ def setup_rabbitmq():
sudo('rabbitmqctl add_vhost %s' % env.vhost, shell=False) sudo('rabbitmqctl add_vhost %s' % env.vhost, shell=False)
sudo('rabbitmqctl set_permissions -p %s %s ".*" ".*" ".*"' % (env.vhost, env.user), shell=False) sudo('rabbitmqctl set_permissions -p %s %s ".*" ".*" ".*"' % (env.vhost, env.user), shell=False)
with cd('%(path)s/dreddit-auth/' % env): put('brokersettings.py', '%(path)s/dreddit-auth/')
put('brokersettings.py', '.')
os.unlink('brokersettings.py') os.unlink('brokersettings.py')
def deploy_repo(): def deploy_repo():

View File

@@ -17,7 +17,7 @@ MANAGERS = ADMINS
from dbsettings import * from dbsettings import *
# Import the Broker settings # Import the Broker settings
from brokersettings.py import * from brokersettings import *
# Local time zone for this installation. Choices can be found here: # Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name