[Bug 263878] sysutils/snmp_exporter: configuration file "generator.yml" is overwritten on update

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 May 2022 12:28:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263878

            Bug ID: 263878
           Summary: sysutils/snmp_exporter: configuration file
                    "generator.yml" is overwritten on update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: topical@gmx.net
                CC: fabian.freyer@physik.tu-berlin.de
             Flags: maintainer-feedback?(fabian.freyer@physik.tu-berlin.de
                    )
                CC: fabian.freyer@physik.tu-berlin.de

The snmp_exporter daemon reads its configuration from "snmp.yml". 

Because of the size and complexity of "snmp.yml", there is a generator called
"snmp_exporter_generator" that takes "generator.yml" as its input.

So, you always edit "generator.yml", call the generator and then (re)start the
daemon.

Unfortunately, the file "generator.yml" is unconditionally written by the port,
so you loose your configuration on every port update.

-- 
You are receiving this mail because:
You are the assignee for the bug.