From: Tomas Mozes Date: Mon, 7 Dec 2015 14:27:07 +0000 (+0100) Subject: app-admin/filebeat-bin: use bundled example config X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bae0c59491f65eb518201b3ddec7a88d179cc830;p=gentoo.git app-admin/filebeat-bin: use bundled example config --- diff --git a/app-admin/filebeat-bin/filebeat-bin-1.0.0.ebuild b/app-admin/filebeat-bin/filebeat-bin-1.0.0.ebuild index 9d5192573345..a6d18e4ed2ce 100644 --- a/app-admin/filebeat-bin/filebeat-bin-1.0.0.ebuild +++ b/app-admin/filebeat-bin/filebeat-bin-1.0.0.ebuild @@ -36,12 +36,12 @@ src_install() { fperms 0750 /var/lib/${MY_PN} - insinto /etc/${MY_PN} - doins "${FILESDIR}/filebeat.yml.example" - newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN} newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN} + insinto /etc/${MY_PN} + newins ${MY_PN}.yml ${MY_PN}.yml.example + dobin ${MY_PN} } diff --git a/app-admin/filebeat-bin/files/filebeat.yml.example b/app-admin/filebeat-bin/files/filebeat.yml.example deleted file mode 100644 index 06c599cc6f37..000000000000 --- a/app-admin/filebeat-bin/files/filebeat.yml.example +++ /dev/null @@ -1,14 +0,0 @@ -filebeat: - prospectors: - - - paths: - - /var/log/*.log - - /var/log/debug - - /var/log/messages - - /var/log/syslog - input_type: log - -output: - elasticsearch: - hosts: ["localhost:9200"] - index: "logstash"