Commit 13eed365 authored by Andrii Salnikov's avatar Andrii Salnikov
Browse files

validator update: wrong block name is an error, bdii parameters is a warning

parent 3473a563
......@@ -369,7 +369,7 @@ sub confchecktripel($$$) {
}
# Check for logrotate paths
if ($block =~ /common|arex|gridftp|infosys/ and $name eq 'logfile') {check_logrotate($block,$name,$value)};
if ($block =~ /^(common|arex|gridftp|infosys)$/ and $name eq 'logfile') {check_logrotate($block,$name,$value)};
# check for any mount dirs
if ($name eq "mount") {
......@@ -387,7 +387,7 @@ sub confchecktripel($$$) {
w("slapd_loglevel > 0 should only be used for development. DO NOT USE for production and testing.\nConfigure bdii_debug_level=\"DEBUG\" instead.\n");
}
if ($name ne "bdii_debug_level" and $name =~ /^bdii/ ) {
e("Starting from release 13.02, BDII configuration commands are strongly deprecated. Use only for Development.\nThe only allowed command is bdii_debug_level\n");
w("Starting from release 13.02, BDII configuration commands are strongly deprecated. Use only for Development.\nThe only allowed command is bdii_debug_level\n");
}
}
......@@ -635,7 +635,7 @@ sub check_completeness() {
if (0 == @secs) {
unless ($skip_warnings) {
w("Unknown group identifier '$k'\n");
e("Unknown block identifier '[$k]'\n");
}
next;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment