From 23ae3d201af82292ad4e939569a50f2e32c689a3 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 5 May 2011 08:16:51 -0400 Subject: made bcfg2-lint error handling configurable on a much more granular level --- man/bcfg2-lint.conf.5 | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) (limited to 'man/bcfg2-lint.conf.5') diff --git a/man/bcfg2-lint.conf.5 b/man/bcfg2-lint.conf.5 index e2b8e79fa..0ae7a27ac 100644 --- a/man/bcfg2-lint.conf.5 +++ b/man/bcfg2-lint.conf.5 @@ -23,6 +23,8 @@ only whitespace. The file consists of one .I [lint] +section, up to one +.I [errors] section, and then any number of plugin-specific sections, documented below. (Note that this makes it quite feasible to combine your .B bcfg2-lint.conf into your @@ -44,6 +46,24 @@ See .B bcfg2-lint(1) for a list of the available plugins. +.SH ERROR HANDLING +Error handling is configured in the +.I [errors] +section. Each option should be the name of an error and one of +.I "error" +, +.I "warning" +, or +.I "silent" +, which tells +.B bcfg2-lint(1) +how to handle the warning. Error names and their defaults can be +displayed by running +.B bcfg2-lint(1) +with the +.B --list-errors +option. + .SH PLUGIN OPTIONS These options apply only to a single plugin. Each option should be in @@ -54,6 +74,11 @@ plugin would be in a section called If a plugin is not listed below, then it has no configuration. +In many cases, the behavior of a plugin can be configured by modifying +how errors from it are handled. See +.B ERROR HANDLING +, above. + .TP .BR Comments @@ -126,18 +151,6 @@ A comma-delimited list of attributes to require on .I tags. Default is "owner,group,perms". -\(bu -.B require_paranoid -Ensure that paranoid mode is on for all files. This can be -accomplished by either setting the global paranoid value (and not -overriding it. Default is false. - -\(bu -.B require -Require an -.I info.xml -file for all Cfg files. Default is false. - .TP .BR Validate @@ -148,16 +161,6 @@ The full path to the XML Schema files. Default is .I --schema command-line option -\(bu -.B properties_schema -If set to -.I "warn" -, will warn if a property files does not have a matching schema file. -If set to -.I "require" -, will produce an error if a property files does not have a matching -schema file. Default is to neither warn nor require. - .SH SEE ALSO .BR bcfg2-lint(1) -- cgit v1.2.3-1-g7c22