summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <tmozes@sygic.com>2015-12-07 15:27:07 +0100
committerTomas Mozes <tmozes@sygic.com>2015-12-07 15:27:07 +0100
commitbae0c59491f65eb518201b3ddec7a88d179cc830 (patch)
tree7e7c7b5cbd6560e2792d71a92055ebdb60a4342a /app-admin
parentapp-admin/filebeat-bin: new ebuild (diff)
downloadgentoo-bae0c59491f65eb518201b3ddec7a88d179cc830.tar.gz
gentoo-bae0c59491f65eb518201b3ddec7a88d179cc830.tar.bz2
gentoo-bae0c59491f65eb518201b3ddec7a88d179cc830.zip
app-admin/filebeat-bin: use bundled example config
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/filebeat-bin/filebeat-bin-1.0.0.ebuild6
-rw-r--r--app-admin/filebeat-bin/files/filebeat.yml.example14
2 files changed, 3 insertions, 17 deletions
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 9d519257334..a6d18e4ed2c 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 06c599cc6f3..00000000000
--- 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"