diff options
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-x | config-db/slxconfig-demuxer | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index 9cff4360..c7e5b47e 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -641,6 +641,16 @@ sub writeClientConfigurationsForSystem $externalSystemID, $buildPath, $externalClientName ); + my $attrsOK = eval { + OpenSLX::AttributeRoster->checkValues( + $client->{attrs}, $info->{'vendor-os'}->{name} + ); + 1; + }; + if (!$attrsOK && $@) { + warn substr($@, 4); # remove leading '*** ' + } + writeAttributesToFile($client, $attrFile); # create tar containing external system configuration |