summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Info.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-10 10:32:10 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-10 10:32:10 -0600
commitca78be11051dab7421a414fc3ae4104c82f1f9e7 (patch)
treea8cabac969b171b6153c8937193eb0088d21620d /src/lib/Bcfg2/Server/Info.py
parent9e5d720a54b51b606a7a4b6f0a1efd5905e5d2a3 (diff)
downloadbcfg2-ca78be11051dab7421a414fc3ae4104c82f1f9e7.tar.gz
bcfg2-ca78be11051dab7421a414fc3ae4104c82f1f9e7.tar.bz2
bcfg2-ca78be11051dab7421a414fc3ae4104c82f1f9e7.zip
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.
Diffstat (limited to 'src/lib/Bcfg2/Server/Info.py')
-rw-r--r--src/lib/Bcfg2/Server/Info.py4
1 files changed, 4 insertions, 0 deletions
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()