summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin/interfaces.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-13 14:58:05 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-13 14:58:05 -0400
commita03fde3ea32d3eb2cadb443454749111dda1797f (patch)
tree6984ab73962c8384905915da6c0a26d77778f3a3 /src/lib/Bcfg2/Server/Plugin/interfaces.py
parentfbf6edf62b7b105abb467ef5cb9254eb8f5396c6 (diff)
downloadbcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.tar.gz
bcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.tar.bz2
bcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.zip
do not create data directories for plugins that don't need them
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugin/interfaces.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugin/interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin/interfaces.py b/src/lib/Bcfg2/Server/Plugin/interfaces.py
index 0fd711be9..222b94fe3 100644
--- a/src/lib/Bcfg2/Server/Plugin/interfaces.py
+++ b/src/lib/Bcfg2/Server/Plugin/interfaces.py
@@ -286,6 +286,8 @@ class Statistics(Plugin):
you should avoid using Statistics and use
:class:`ThreadedStatistics` instead."""
+ create = False
+
def process_statistics(self, client, xdata):
""" Process the given XML statistics data for the specified
client.
@@ -526,6 +528,8 @@ class GoalValidator(object):
class Version(Plugin):
""" Version plugins interact with various version control systems. """
+ create = False
+
#: The path to the VCS metadata file or directory, relative to the
#: base of the Bcfg2 repository. E.g., for Subversion this would
#: be ".svn"