Missing dependency for provision.pl

Description

If you install OpenNMS from yum repository it is not possible to use provision.pl. It requires to install perl-XML-Twig manually. The provision.pl should be in an external opennms-tools project with the perl-XML-Twig dependency or OpenNMS should add this RPM dependency.

Acceptance / Success Criteria

None

is duplicated by

Lucidchart Diagrams

Activity

Show:

Ronny Trommer January 25, 2015 at 1:18 PM

Solved in the story:

Benjamin Reed September 22, 2014 at 5:16 PM

Since not necessarily all distros we support have these modules around (without pulling in extra package repositories), a deliberate choice was made not to require these in the RPMs (and RPM doesn't support "optional" dependencies...).

That said, we should at least tell users what to do when those files are not available. provision.pl has been updated to throw an error that tells you how to commonly install the required modules on RPM- and Debian-based distros, as well as how to do it manually with CPAN.

Ronny Trommer April 2, 2014 at 5:11 AM
Edited

Running provision.pl after installing OpenNMS from stable yum repositories shows

Resolving dependency manually with:

Second missing dependency is shown with error message

Resolving dependency manually with:

Script works after installing these two packages manually.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created February 11, 2014 at 12:13 PM
Updated March 17, 2015 at 5:42 PM
Resolved September 22, 2014 at 5:16 PM