summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-12 09:29:54 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-12 09:29:54 -0400
commit77b945b0ff23d778439148fe01eedd3884364024 (patch)
tree789fecf8e14996a9381e3f21a8988961dfd618e8 /src/lib/Bcfg2/Server/Plugin.py
parent8c08bfc37cb7cdec5e83005ea71f55f0cfd4259e (diff)
downloadbcfg2-77b945b0ff23d778439148fe01eedd3884364024.tar.gz
bcfg2-77b945b0ff23d778439148fe01eedd3884364024.tar.bz2
bcfg2-77b945b0ff23d778439148fe01eedd3884364024.zip
added end_statistics hook to ClientRunHooks; added calls to Packages and PuppetENC to clean cache after statistics, too
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugin.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin.py b/src/lib/Bcfg2/Server/Plugin.py
index 06a491562..8a976a048 100644
--- a/src/lib/Bcfg2/Server/Plugin.py
+++ b/src/lib/Bcfg2/Server/Plugin.py
@@ -369,6 +369,8 @@ class ClientRunHooks(object):
def end_client_run(self, metadata):
pass
+ def end_statistics(self, metadata):
+ pass
# the rest of the file contains classes for coherent file caching