The placeholders added to sample configuration files are not replaced when generating RPMs

Description

I'm working on a branch named xml-collector and I added some sample configuration files and scripts (to automatically generate the configuration files for 3GPP XML Data). I used some placeholders to those files as we usually do on opennms-base-assembly.

I've generated the RPMs, I've installed the file opennms-plugin-protocol-xml-1.9.94-0.20111128.0.noarch.rpm, and the sample files still shows the placeholders and they were not replaced with the proper value.

Here are some sample of the placeholders I'm using:

etc/xml-datacollection-config.xml:

<xml-datacollection-config rrdRepository="${install.share.dir}/rrd/snmp/" xmlns="http://xmlns.opennms.org/xsd/config/xml-datacollection">

contrib/xml-collector/3gpp-datacollection-generator.pl

#!${install.perl.bin}
...
my $share_dir = "${install.share.dir}";

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Benjamin Reed November 28, 2011 at 1:51 PM

Fixed in 1.10 and master, and in the xml-collector branch.

Alejandro Galue November 28, 2011 at 10:03 AM

I noticed that this happens not only with my new package for the XML collector. It also happens with NSClient and XMP:

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

PagerDuty

Created November 28, 2011 at 9:05 AM
Updated January 27, 2017 at 4:20 PM
Resolved November 28, 2011 at 1:51 PM