diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-04-02 08:21:50 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-04-02 08:21:50 -0400 |
commit | 348671cf062c1e362f5cd70719a045848f019dea (patch) | |
tree | 452eea84f004c8b5fc5e86ea9ef62817c35ce7c9 /src/lib/Bcfg2/Server/Core.py | |
parent | 1012d3633acf13a0807142cb98badfc1e7e71b84 (diff) | |
parent | f94aa46296a8cf1cdd66c7f5802b7bd8a5c70c0a (diff) | |
download | bcfg2-348671cf062c1e362f5cd70719a045848f019dea.tar.gz bcfg2-348671cf062c1e362f5cd70719a045848f019dea.tar.bz2 bcfg2-348671cf062c1e362f5cd70719a045848f019dea.zip |
Merge pull request #160 from fennm/allow-seperate-reporting-database
Preliminary support for seperate reporting database
Diffstat (limited to 'src/lib/Bcfg2/Server/Core.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py index 23209448d..4f51ebe87 100644 --- a/src/lib/Bcfg2/Server/Core.py +++ b/src/lib/Bcfg2/Server/Core.py @@ -236,8 +236,8 @@ class Core(object): self._database_available = False if HAS_DJANGO: try: - management.call_command("syncdb", interactive=False, - verbosity=0) + Bcfg2.DBSettings.sync_databases(interactive=False, + verbosity=0) self._database_available = True except ImproperlyConfigured: self.logger.error("Django configuration problem: %s" % |