From: Barış Metin Date: Tue, 21 Jul 2009 10:47:18 +0000 (+0000) Subject: ignore {ple,plc}_monitor user. X-Git-Tag: nodeconfig-4.3-5~3 X-Git-Url: http://git.onelab.eu/?p=nodeconfig.git;a=commitdiff_plain;h=8d5efe94ed1ae371b0f372fb510b3a27c6cdc81d ignore {ple,plc}_monitor user. --- diff --git a/PlanetLabConf/keys.php b/PlanetLabConf/keys.php index ed4cfd2..5fca766 100755 --- a/PlanetLabConf/keys.php +++ b/PlanetLabConf/keys.php @@ -34,13 +34,16 @@ if (!empty($_REQUEST['role'])) { } } -// {ple,pl}_monitor user is created on the nodes by the monitor-runlevelagent init script. -if (isset($_REQUEST[PLC_SLICE_PREFIX . '_monitor'])) { - $user = $adm->GetPersons(array('first_name' => 'Site', 'last_name' => 'Assistant')); - if (!empty($user)) { - $persons[] = $user[0]; - } -} +// +// NOTE: this user is not used by the monitor for the moment. +// +/* // {ple,pl}_monitor user is created on the nodes by the monitor-runlevelagent init script. */ +/* if (isset($_REQUEST[PLC_SLICE_PREFIX . '_monitor'])) { */ +/* $user = $adm->GetPersons(array('first_name' => 'Site', 'last_name' => 'Assistant')); */ +/* if (!empty($user)) { */ +/* $persons[] = $user[0]; */ +/* } */ +/* } */ if (isset($_REQUEST['site_admin']) && isset($_REQUEST['node_id'])) { $nodes = $adm->GetNodes(array(intval($_REQUEST['node_id'])));