Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/discourse/files/init-discourse

Issue 5018733013630976: 1388 - Update postgresql module to 4.x (Closed)
Patch Set: Created Oct. 6, 2014, 11:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/discourse/files/init-discourse
===================================================================
--- a/modules/discourse/files/init-discourse
+++ b/modules/discourse/files/init-discourse
@@ -44,13 +44,12 @@
callRailsCommand(['bundle', 'install', '--deployment', '--without', 'test', '--without', 'development'])
initAirBrake()
+ callRailsCommand(['bundle', 'exec', 'rake', 'db:migrate'])
callRailsCommand(['bundle', 'exec', 'rake', 'assets:precompile'])
if os.path.exists(service_path):
subprocess.check_call(['sudo', service_path, 'stop'])
- callRailsCommand(['bundle', 'exec', 'rake', 'db:migrate'])
-
if os.path.exists(service_path):
subprocess.check_call(['sudo', service_path, 'start'])
« dependencies ('K') | « dependencies ('k') | modules/discourse/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld