Don't run syncdb or migrate until after install
The syncdb and migrate execs need an upgraded Askbot package installed in the venv before they're run, so indicate this dependency relationship accordingly. Change-Id: Ibf191682e238fcf5dcebc5a5c2c50d8b63913153
This commit is contained in:
parent
bf2ac102e2
commit
9201b62276
|
@ -117,6 +117,7 @@ class askbot::install (
|
|||
cwd => "${dist_root}/askbot",
|
||||
command => '/usr/askbot-env/bin/pip install .',
|
||||
logoutput => on_failure,
|
||||
before => [Exec['askbot-syncdb'], Exec['askbot-migrate'] ],
|
||||
subscribe => Git['askbot'],
|
||||
refreshonly => true,
|
||||
require => Exec[ 'pip-requirements-install'],
|
||||
|
|
Loading…
Reference in New Issue