summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-09-27 23:38:42 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-09-27 23:38:42 +0000
commit75719d704637cff13b315318e465186ec5177c86 (patch)
tree32e749453b29128a916b50d58a4c50a5d99393c9
parent7dfff1fb3ea62fc6df59c3c3b6ee51f743492809 (diff)
downloadpki-75719d704637cff13b315318e465186ec5177c86.tar.gz
pki-75719d704637cff13b315318e465186ec5177c86.tar.xz
pki-75719d704637cff13b315318e465186ec5177c86.zip
Bugzilla Bug #637982 - some selftest parameters are not properly substituted
during configuration process git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1322 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-rwxr-xr-xpki/base/tps/lib/perl/PKI/TPS/NamePanel.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/pki/base/tps/lib/perl/PKI/TPS/NamePanel.pm b/pki/base/tps/lib/perl/PKI/TPS/NamePanel.pm
index bed56791d..b5df967ce 100755
--- a/pki/base/tps/lib/perl/PKI/TPS/NamePanel.pm
+++ b/pki/base/tps/lib/perl/PKI/TPS/NamePanel.pm
@@ -401,6 +401,21 @@ $debug_req = "/usr/bin/sslget -e \"$params\" -d \"$instanceDir/alias\" -p \"(sen
}
}
+ # set selftest variables (always use the "latest" subsystem nickname)
+ my $selftestNickname = $::config->get( "preop.cert.subsystem.nickname" );
+ if ($hw ne "") {
+ $::config->put( "selftests.plugin.TPSPresence.nickname",
+ "$tk$selftestNickname" );
+ $::config->put( "selftests.plugin.TPSValidity.nickname",
+ "$tk$selftestNickname" );
+ } else {
+ $::config->put( "selftests.plugin.TPSPresence.nickname",
+ "$selftestNickname" );
+ $::config->put( "selftests.plugin.TPSValidity.nickname",
+ "$selftestNickname" );
+ }
+ $::config->commit();
+
DONE:
$::config->put("preop.namepanel.done", "true");
$::config->commit();