print$THIS_FILE." ".__LINE__."; Failed to parse the pair from: [".$variable_string."]\n";
print$THIS_FILE." ".__LINE__."; Failed to parse the pair from: [".$variable_string."]\n";
print$THIS_FILE." ".__LINE__."; Was parsing message: [".$message."] from key string: [".$key_string."]\n";
print$THIS_FILE." ".__LINE__."; Was parsing message: [".$message."] from key string: [".$key_string."]\n";
die;
die;
@ -680,7 +685,15 @@ sub string
# Die if I've looped too many times.
# Die if I've looped too many times.
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
}
}
}
my$error="[ Error ] - The method Words->string() was asked to process the string: [".$string."] which has insertion variables, but nothing was passed to the 'variables' parameter.";
my$error="[ Error ] - The method Words->string() was asked to process the string: [".$string."] which has insertion variables, but nothing was passed to the 'variables' parameter.";
print$THIS_FILE." ".__LINE__."; $error\n"if$test;
print$THIS_FILE." ".__LINE__."; $error\n"if$test;
@ -707,7 +720,15 @@ sub string
# Die if I've looped too many times.
# Die if I've looped too many times.
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language]. Is there a bad '#!<variable>!<value>!# replacement key? Exiting.\n";
}
}
}
# Now, look for any '#!string!x!#' embedded strings.
# Now, look for any '#!string!x!#' embedded strings.
@ -731,7 +752,15 @@ sub string
# Die if I've looped too many times.
# Die if I've looped too many times.
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
}
}
}
# Now insert variables in the strings.
# Now insert variables in the strings.
@ -767,7 +796,15 @@ sub string
# Die if I've looped too many times.
# Die if I've looped too many times.
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
}
}
}
# Next, convert '#!data!x!#' to the value in '$anvil->data->{x}'.
# Next, convert '#!data!x!#' to the value in '$anvil->data->{x}'.
@ -803,11 +840,27 @@ sub string
# Die if I've looped too many times.
# Die if I've looped too many times.
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
}
}
}
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
}
# If there are no replacement keys left, exit the loop.
# If there are no replacement keys left, exit the loop.
if($string!~/#!([^\s]+?)!#/)
if($string!~/#!([^\s]+?)!#/)
@ -824,7 +877,15 @@ sub string
$string=~s/!#([^\s]+?)#!/#!$1!#/g;
$string=~s/!#([^\s]+?)#!/#!$1!#/g;
$loops++;
$loops++;
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n"if$loops>$limit;
if($loops>$limit)
{
# If we're in a web environment, print the HTML header.
die"$THIS_FILE ".__LINE__."; Infinite loop detected while processing the string: [".$string."] from the key: [$key] in language: [$language], exiting.\n";
<keyname="header_0036">BCN link #!variable!number!#</key>
<keyname="header_0037">SN link #!variable!number!#</key>
<keyname="header_0038">IFN link #!variable!number!#</key>
<!-- Strings used by jobs -->
<!-- Strings used by jobs -->
<keyname="job_0001">Configure Network</key>
<keyname="job_0001">Configure Network</key>
@ -1390,16 +1399,13 @@ If you are comfortable that the target has changed for a known reason, you can s
<keyname="striker_0265">If the machine is powered by a given UPS, click to check the corresponding box. This information will be used in power loss events to decide what machine should host servers, which should be powered off during load-shed conditions and when to gracefully power off entirely.</key>
<keyname="striker_0265">If the machine is powered by a given UPS, click to check the corresponding box. This information will be used in power loss events to decide what machine should host servers, which should be powered off during load-shed conditions and when to gracefully power off entirely.</key>
<keyname="striker_0266">If your machine has an IPMI BMC, (iDRAC, iLO, iRMC, etc), then you can enter the IP to give it here. Further details will be collected when the manifest runs. Leave blank if the machine doesn't have IPMI.</key>
<keyname="striker_0266">If your machine has an IPMI BMC, (iDRAC, iLO, iRMC, etc), then you can enter the IP to give it here. Further details will be collected when the manifest runs. Leave blank if the machine doesn't have IPMI.</key>
<keyname="striker_0268"><![CDATA[Below is the install manifest you've selected to run. Please be sure that the details match how you want the nodes and, optionally, DR host to be set to.]]></key>
<keyname="striker_0268"><![CDATA[Please be sure that the details match how you want your #!string!brand_0006!# to be configured.]]></key>
<keyname="striker_0271">Set all passwords to...</key>
<ul>
<keyname="striker_0272"><![CDATA[A node that is found to be running a server will <b>NOT</b> be changed, except to configure passwordless SSH to the peer node and/or DR host. As such, it is safe to run this manifest when adding a rebuilt node or adding a DR host to a live #!string!brand_0006!# system.]]></key>
<li>A node that is found to be running a server will <b>NOT</b> be changed, except to configure passwordless SSH to the peer node and/or DR host. As such, it is safe to run this manifest when adding a rebuilt node or adding a DR host to a live #!string!brand_0006!# system.</li>
<keyname="striker_0273">Adding a disaster recovery (DR) host is optional. You can add one later if you don't have one now.</key>
<li>Adding a disaster recovery (DR) host is optional. You can add one later if you don't have one now.</li>
<keyname="striker_0274">If there are no servers on either node (as it a new #!string!brand_0006!# build), the OSes will be updated. Otherwise, they won't be updated. If the kernel is updated, or the network reconfigured, the node will be rebooted.</key>
<li>If there are no servers on either node (as it a new #!string!brand_0006!# build), the OSes will be updated. Otherwise, they won't be updated. If the kernel is updated, or the network reconfigured, the node will be rebooted.</li>
</ul>
]]></key>
<!-- These are generally units and appended to numbers -->
<!-- These are generally units and appended to numbers -->