summaryrefslogtreecommitdiffstats
path: root/man/bcfg2-lint.conf.5
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-05-05 08:16:51 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-05-05 08:16:51 -0400
commit23ae3d201af82292ad4e939569a50f2e32c689a3 (patch)
tree96c1f029b0a5541c63a97a42bd9006c73c532038 /man/bcfg2-lint.conf.5
parent9d68095482ffe50fd0f86ab6119fc55064dcb56f (diff)
downloadbcfg2-23ae3d201af82292ad4e939569a50f2e32c689a3.tar.gz
bcfg2-23ae3d201af82292ad4e939569a50f2e32c689a3.tar.bz2
bcfg2-23ae3d201af82292ad4e939569a50f2e32c689a3.zip
made bcfg2-lint error handling configurable on a much more granular level
Diffstat (limited to 'man/bcfg2-lint.conf.5')
-rw-r--r--man/bcfg2-lint.conf.547
1 files changed, 25 insertions, 22 deletions
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 <Info>
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)