Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2013-02-18 14:27:02 -0500
committerFrank Becker2013-03-03 11:03:18 -0500
commitc69360ed98fe8cb445566ca336a793f387a9a9f8 (patch)
tree541cda854eeb8c0e497c218863ad3ddc9dc50ee8 /org.eclipse.mylyn.trac.releng
parent985b510ea6142d3fa8969ce5d23bb0f2013e7c32 (diff)
downloadorg.eclipse.mylyn.tasks-c69360ed98fe8cb445566ca336a793f387a9a9f8.tar.gz
org.eclipse.mylyn.tasks-c69360ed98fe8cb445566ca336a793f387a9a9f8.tar.xz
org.eclipse.mylyn.tasks-c69360ed98fe8cb445566ca336a793f387a9a9f8.zip
399803: add service file (trac and bugzilla); buzilla cleanup and use
title in more places Change-Id: I08a418a65437f45835732f9e378f00c922211468 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=399803
Diffstat (limited to 'org.eclipse.mylyn.trac.releng')
-rw-r--r--org.eclipse.mylyn.trac.releng/manifests/default.pp6
-rw-r--r--org.eclipse.mylyn.trac.releng/modules/trac/files/services.cgi17
-rw-r--r--org.eclipse.mylyn.trac.releng/modules/trac/manifests/init.pp6
3 files changed, 26 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.releng/manifests/default.pp b/org.eclipse.mylyn.trac.releng/manifests/default.pp
index 2d7b49421..5b6dc5300 100644
--- a/org.eclipse.mylyn.trac.releng/manifests/default.pp
+++ b/org.eclipse.mylyn.trac.releng/manifests/default.pp
@@ -1,8 +1,6 @@
Exec {
path => ["/bin/", "/sbin/", "/usr/bin/", "/usr/sbin/"] }
-include "trac"
-
user { "tools":
ensure => present,
membership => minimum,
@@ -10,5 +8,7 @@ user { "tools":
managehome => true,
}
+include "trac"
+
trac::defaultsites { "trac":
-}
+} \ No newline at end of file
diff --git a/org.eclipse.mylyn.trac.releng/modules/trac/files/services.cgi b/org.eclipse.mylyn.trac.releng/modules/trac/files/services.cgi
new file mode 100644
index 000000000..85c28169f
--- /dev/null
+++ b/org.eclipse.mylyn.trac.releng/modules/trac/files/services.cgi
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+echo content-type: application/json
+echo
+
+echo "["
+c=0
+for i in $(find /home/tools -name "service*.json")
+do
+ if [ $c != 0 ]
+ then
+ echo ","
+ fi
+ cat $i
+ c=c+1
+done
+echo "]" \ No newline at end of file
diff --git a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/init.pp b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/init.pp
index 136d1793b..41c327335 100644
--- a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/init.pp
+++ b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/init.pp
@@ -60,4 +60,10 @@ class trac {
require => Package[$requirements],
}
+ file { "/usr/lib/cgi-bin/services":
+ source => "puppet:///modules/trac/services.cgi",
+ mode => 755,
+ require => Package[$requirements],
+ }
+
}

Back to the top