Bug 258506 - sysutils/beats7: Install system.yml.sample configuration
Summary: sysutils/beats7: Install system.yml.sample configuration
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Juraj Lutter
Keywords: easy, needs-patch
Depends on:
Reported: 2021-09-14 20:59 UTC by Dan Langille
Modified: 2021-09-15 01:13 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (elastic)
koobs: merge-quarterly?


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille freebsd_committer 2021-09-14 20:59:24 UTC

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
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...
Comment 1 Juraj Lutter freebsd_committer 2021-09-14 21:01:31 UTC
Thanks for the feedback, this will be included in next update.