maintainer-feedback requested: [Bug 258506] sysutils/beats7: why not install system.yml.sample?

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Sep 2021 20:59:24 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic (Nobody)
<elastic@FreeBSD.org> for maintainer-feedback:
Bug 258506: sysutils/beats7: why not install system.yml.sample?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258506



--- Description ---
Hello,

etc/beats/metricbeat.modules.d/system.yml seems like a great candidate for a
.sample file

It would avoid this situation:

$ sudo pkg check -s
Password:
Checking all packages:	 1%
beats7-7.10.1: checksum mismatch for
/usr/local/etc/beats/metricbeat.modules.d/system.yml
Checking all packages: 100%

I imagine that local changes to that file are common. Upgrades shouldn't
overwrite them.

I don't know about the other 572 .yml files in pkg-plist though...