mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix some silly fabric issues
This commit is contained in:
4
fabfile.py
vendored
4
fabfile.py
vendored
@@ -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():
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user