summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-14 09:51:59 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-14 09:51:59 -0500
commit881205322035f9ca7375ab0c67ab339c430dbe01 (patch)
tree5c50de0f5ea1db1181a44eefc92dcf554325143d
parent41d5f9d8275690a96c8cd4fc5443bad3b1b72e73 (diff)
downloadbcfg2-881205322035f9ca7375ab0c67ab339c430dbe01.tar.gz
bcfg2-881205322035f9ca7375ab0c67ab339c430dbe01.tar.bz2
bcfg2-881205322035f9ca7375ab0c67ab339c430dbe01.zip
Probes: added missing docstring
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Probes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Probes.py b/src/lib/Bcfg2/Server/Plugins/Probes.py
index 0df88d522..fdc047283 100644
--- a/src/lib/Bcfg2/Server/Plugins/Probes.py
+++ b/src/lib/Bcfg2/Server/Plugins/Probes.py
@@ -403,6 +403,9 @@ class Probes(Bcfg2.Server.Plugin.Probing,
cprobedata[data.get('name')] = dobj
def _group_allowed(self, group):
+ """ Determine if the named group can be set as a probe group
+ by checking the regexes listed in the [probes] groups_allowed
+ setting """
return any(r.match(group) for r in self.allowed_cgroups)
def get_additional_groups(self, meta):