Project

General

Profile

Actions

User story #4924

closed

Enable installing rudder-webapp and rudder-inventory-endpoint using system's jetty (not rudder-jetty)

Added by Jonathan CLARKE almost 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Currently our packages provide rudder-webapp and rudder-inventory-endpoint in independant packages, but they depend on rudder-jetty (our re-packaged version of jetty, which is basically the same as upstream). This imposes a strong constraint on the version of jetty to use, and some users would like to use their own version of jetty, or the one provided by their OS.

We should rework the packaging to:

  1. On Debian systems, rudder-webapp and rudder-inventory-endpoint should depend on "rudder-jetty | jetty | jetty8" (see https://packages.debian.org/search?keywords=jetty)
  2. On RPM systems, use virtual package names (via the "Provides" feature), by adapting the rudder-jetty package to provide the virtual package name and adapting rudder-webapp and rudder-inventory-endpoint to depend on the virtual package name. This is made slightly trickier by the fact that different distributions provide different virtual names for jetty (see table below), but this can easily be managed using RPM spec's 'if %{x}' macros
  3. Adapt both packages to install the webapps under /opt/rudder/share/webapps (instead of /opt/rudder/jetty7/webapps)
  4. Adapt the context file (rudder.xml) to use a the new path to the WAR
Virtual package names:
  • RHEL 6 : jetty-eclipse
  • Fedora : jetty-server
  • SLES 11 : SLES does not package jetty. Seriously. Just depend on rudder-jetty.

Subtasks 1 (0 open1 closed)

User story #4962: Enable installing rudder-webapp and rudder-inventory-endpoint using system's jetty (not rudder-jetty) (integration)ReleasedJonathan CLARKE2014-06-06Actions
Actions #1

Updated by Jonathan CLARKE almost 10 years ago

Update: we also need the rudder-{webapp,inventory-endpoint} packages to install the context XML files to /opt/rudder/share/webapps (next to the WARs) and create a symlink from /opt/rudder/jetty7/contexts/ if that directory exists.

Actions #2

Updated by Jonathan CLARKE almost 10 years ago

Also, we should add a couple of lines in the documentation explaining that when users install a plugin, they need to edit the context XML file to add it to the classpath (we do this automagically in our rudder-jetty init script but users with their own jetty won't have this benefit).

Actions #3

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.0~beta1 to 2.11.0~beta2
Actions #4

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from 8 to 12
Actions #5

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from 12 to Pending release
Actions #6

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending release to Discussion

Hm, I don't think the documentation has been done yet.

Actions #7

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Discussion to 8
Actions #8

Updated by Matthieu CERDA almost 10 years ago

  • Target version changed from 2.11.0~beta2 to 2.11.0~rc1
Actions #9

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.0~rc1 to 2.11.0~rc2
Actions #10

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.0~rc2 to 2.11.0
Actions #11

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.0 to 2.11.0~beta2
Actions #12

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from 8 to 12
Actions #13

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from 12 to Pending release
Actions #14

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released
Actions #15

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF