Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp')
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp
index 3cb1b09de..1fde3fa1d 100644
--- a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/site.pp
@@ -28,7 +28,7 @@ define bugzilla::site (
$envid = "$title",
$userOwner = $bugzilla::userOwner,
$userGroup = $bugzilla::userGroup,
- $envversion = "${major}.${minor}.${micro}",
+ $envversion = "",
$envdefault = false,
$envdefault_rest = false,
$desciptorfile = " ",
@@ -51,6 +51,15 @@ define bugzilla::site (
$branchTagInternal = "release-${major}.${minor}"
}
}
+ if ($envversion !="") {
+ $envversionInternal = $envversion
+ } else {
+ if ($micro !="") {
+ $envversionInternal = "${major}.${minor}.${micro}"
+ } else {
+ $envversionInternal = "${major}.${minor}"
+ }
+ }
if $custom_wf {
$envinfo1 = "Custom Workflow"
} elsif $custom_wf_and_status {

Back to the top