Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5070

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      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}";

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: