From 669a8fce985164632b41bcac8fef3f52223bac0e Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 10 Nov 2014 10:32:10 -0600 Subject: Options: further command registry fixes This updates the documentation for some of the recent changes to subcommand handling, and ensures that the server core is shut down by bcfg2-info. --- src/lib/Bcfg2/Server/Info.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib') diff --git a/src/lib/Bcfg2/Server/Info.py b/src/lib/Bcfg2/Server/Info.py index da2312cc8..6af561089 100644 --- a/src/lib/Bcfg2/Server/Info.py +++ b/src/lib/Bcfg2/Server/Info.py @@ -873,3 +873,7 @@ class CLI(Bcfg2.Options.CommandRegistry): return self.runcommand() finally: self.shutdown() + + def shutdown(self): + Bcfg2.Options.CommandRegistry.shutdown(self) + self.core.shutdown() -- cgit v1.2.3-1-g7c22