Displaying 1 result from an estimated 1 matches for "int_webapp_context_path".
2012 Oct 02
4
Removing intermediate variables in calculation
...path" from that
variable into a separate variable IF an optional "path" variable haven''t
been supplied.
Here is an extract:
class nexus::config(
...
$baseurl,
$webapp_context_path = ''/''
) {
if ($webapp_context_path != '''')
{
$int_webapp_context_path = $webapp_context_path
notify{"using webapp_context_path \"${webapp_context_path}\"":}
}
else
{
$extracted_url_path = regsubst($baseurl, ''^https?://[^/]+(/.*)'', ''\1'')
if ($extracted_url_path)
{
$int_webapp_context_p...