diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2014-10-30 01:45:06 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-10-30 03:42:35 +0100 |
commit | 31217590131874945ac52cab6256c332ab6571a4 (patch) | |
tree | 1c84c63683fb41c2ba0769d75301ed9ef1ae8e8f /src/lib/Bcfg2 | |
parent | b882e08e9842f5e3950531070eba5c71642e0fe6 (diff) | |
download | bcfg2-31217590131874945ac52cab6256c332ab6571a4.tar.gz bcfg2-31217590131874945ac52cab6256c332ab6571a4.tar.bz2 bcfg2-31217590131874945ac52cab6256c332ab6571a4.zip |
Lint/Comments: add missing options
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Server/Lint/Comments.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Comments.py b/src/lib/Bcfg2/Server/Lint/Comments.py index 120b1a064..fbe84de87 100644 --- a/src/lib/Bcfg2/Server/Lint/Comments.py +++ b/src/lib/Bcfg2/Server/Lint/Comments.py @@ -99,7 +99,15 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin): Bcfg2.Options.Option( cf=("Comments", "probes_comments"), type=Bcfg2.Options.Types.comma_list, default=[], - help="Required comments for probes")] + help="Required comments for probes"), + Bcfg2.Options.Option( + cf=("Comments", "metadata_keywords"), + type=Bcfg2.Options.Types.comma_list, default=[], + help="Required keywords for metadata files"), + Bcfg2.Options.Option( + cf=("Comments", "metadata_comments"), + type=Bcfg2.Options.Types.comma_list, default=[], + help="Required comments for metadata files")] def __init__(self, *args, **kwargs): Bcfg2.Server.Lint.ServerPlugin.__init__(self, *args, **kwargs) |