summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-05-15 20:24:02 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-05-15 20:24:02 +0000
commit68cf256be3696164247ba22c8681890cd43e47cc (patch)
tree4a81c30938dfd0aca9c0a5d0c46a39487ef2c9a3
parentd277598beb3f55fdfe5a905a653a830845eff768 (diff)
downloadbcfg2-68cf256be3696164247ba22c8681890cd43e47cc.tar.gz
bcfg2-68cf256be3696164247ba22c8681890cd43e47cc.tar.bz2
bcfg2-68cf256be3696164247ba22c8681890cd43e47cc.zip
Add back updates for VCS plugins
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5241 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index f21250d81..2912d7ae8 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -108,6 +108,10 @@ class Core(Component):
self.fam.handle_event_set(self.lock)
except:
continue
+ # VCS plugin periodic updates
+ for plugin in self.plugins.values():
+ if isinstance(plugin, Bcfg2.Server.Plugin.Version):
+ self.revision = plugin.get_revision()
def init_plugins(self, plugin):
try: