summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index cd3b3ec2..c8c05093 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -39,6 +39,7 @@ use OpenSLX::AttributeRoster;
use OpenSLX::Basics;
use OpenSLX::ConfigDB;
use OpenSLX::ConfigFolder;
+use OpenSLX::OSPlugin::Roster;
use OpenSLX::Utils;
my %option;
@@ -247,6 +248,12 @@ sub parseKeyValueArgsWithAttrs
if (grep { $_ eq $key } @$allowedKeys) {
$dataHash{$key} = $value;
} elsif (grep { $_ eq $key } @$allowedAttrKeys) {
+ $key =~ m{^(.+)::.+?$};
+ my $pluginName = $1;
+ my $plugin
+ = OpenSLX::OSPlugin::Roster->getPlugin($pluginName)
+ || die _tr('unable to load plugin "%s"', $pluginName);
+ $plugin->checkValueForKey($key, $value);
$attrHash{$key} = $value;
} else {
die _tr("unknown key '%s' specified for %s\n", $key, $table);