diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-26 15:22:11 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-26 15:22:11 -0500 |
commit | 5565178f48063504c460de358bd1f3938fdceac5 (patch) | |
tree | ebba218f0e2cc38a6f8bb7a30fae9bfe92375948 | |
parent | fae67722f126297d9f8a4fb211f97c6e99aadd47 (diff) | |
download | bcfg2-5565178f48063504c460de358bd1f3938fdceac5.tar.gz bcfg2-5565178f48063504c460de358bd1f3938fdceac5.tar.bz2 bcfg2-5565178f48063504c460de358bd1f3938fdceac5.zip |
Lint: Fix Path type='vcs' schema checks
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r-- | src/lib/Bcfg2/Server/Lint/RequiredAttrs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py b/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py index 6ffdd33a0..e49779a10 100644 --- a/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py +++ b/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py @@ -76,7 +76,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin): permissions=dict(name=is_filename, owner=is_username, group=is_username, mode=is_octal_mode), vcs=dict(vcstype=lambda v: (v != 'Path' and - hasattr(Bcfg2.Client.Tools.VCS, + hasattr(Bcfg2.Client.Tools.VCS.VCS, "Install%s" % v)), revision=None, sourceurl=None)), Service={"__any__": dict(name=None), |