diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-21 14:43:39 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-21 14:43:39 -0400 |
commit | 24f6403f1ba483b813e30ea15446a59090d90d90 (patch) | |
tree | 28ee707cca44ba49a8ce775842e5d890bae38b34 /src/lib/Server/Lint/InfoXML.py | |
parent | 788d6e5cc035710999d2097c4ef2da69568e8995 (diff) | |
download | bcfg2-24f6403f1ba483b813e30ea15446a59090d90d90.tar.gz bcfg2-24f6403f1ba483b813e30ea15446a59090d90d90.tar.bz2 bcfg2-24f6403f1ba483b813e30ea15446a59090d90d90.zip |
Misc. bcfg2-lint fixes and tweaks:
* fixed bcfg2-lint bug with older pythons
* made bcfg2-lint silent by default on success
* adjusted bcfg2-lint defaults and alerting levels to work better out-of-the-box
Diffstat (limited to 'src/lib/Server/Lint/InfoXML.py')
-rw-r--r-- | src/lib/Server/Lint/InfoXML.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Lint/InfoXML.py b/src/lib/Server/Lint/InfoXML.py index 42679109a..798d8c208 100644 --- a/src/lib/Server/Lint/InfoXML.py +++ b/src/lib/Server/Lint/InfoXML.py @@ -14,7 +14,7 @@ class InfoXML(Bcfg2.Server.Lint.ServerPlugin): entryset.infoxml is not None): xdata = entryset.infoxml.pnode.data for info in xdata.getroottree().findall("//Info"): - required = ["owner", "group", "perms"] + required = [] if "required_attrs" in self.config: required = self.config["required_attrs"].split(",") |