-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Metricbeat modules.d dir to /etc/metricbeat #8105
Conversation
This fixes the location of the Metricbeat modules.d directory as installed by .deb and .rpm packages. Fixes elastic#8104
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
jenkins, package it |
@@ -126,9 +126,8 @@ func GoTestIntegration(ctx context.Context) error { | |||
// not supported. | |||
func customizePackaging() { | |||
var ( | |||
archiveModulesDir = "modules.d" | |||
linuxPkgModulesDir = "/usr/share/{{.BeatName}}/modules.d" | |||
darwinDMGModulesDir = "/Library/Application Support/{{.BeatVendor}}/{{.BeatName}}/modules.d" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it on purpose that now the Mac files are placed under a different location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new MacOS installer puts our typical path.home
files into /Library/Application Support
because this is conventional (it's like /usr/share
).
The config and logs go to /etc
and /var
just like Linux. So the modules.d
was wrong for MacOS too.
Test that the `filebeat modules list` and `metricbeat modules list` commands are working. Relates elastic/beats#7488 elastic/beats#8105
Test that the `filebeat modules list` and `metricbeat modules list` commands are working. Relates elastic/beats#7488 elastic/beats#8105
jenkins, package it |
Trying to trigger a packaging build here: https://beats-ci.elastic.co/job/elastic+beats+pull-request+package/47/console |
Test that the `filebeat modules list` and `metricbeat modules list` commands are working. Relates elastic/beats#7488 elastic/beats#8105
This fixes the location of the Metricbeat modules.d directory as installed by .deb and .rpm packages. Fixes elastic#8104 (cherry picked from commit ac96597)
This fixes the location of the Metricbeat modules.d directory as installed by .deb and .rpm packages. Fixes elastic#8104 (cherry picked from commit ac96597)
…tic#8152) This fixes the location of the Metricbeat modules.d directory as installed by .deb and .rpm packages. Fixes elastic#8104 (cherry picked from commit b62f374)
This fixes the location of the Metricbeat modules.d directory as installed by .deb and .rpm packages.
Fixes #8104