Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557444 - app-admin/logstash-forwarder-0.4.0 - invalid directory with example configuration
Summary: app-admin/logstash-forwarder-0.4.0 - invalid directory with example configura...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 11:04 UTC by Tomáš Mózes
Modified: 2015-08-17 20:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2015-08-13 11:04:17 UTC
After installing I see:

 * Before starting logstash-forwarder create config file at
 *
 *   /etc/logstash-forwarder/logstash-forwarder.conf
 *
 * See example in /usr/share/doc/0.4.0 directory. You can remove
 * -quiet from logstash-forward arguments in /etc/conf.d/logstash-forwarder to
 * until you get working configuration. Search syslog for errors.

There is no such directory as /usr/share/doc/0.4.0.
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2015-08-14 20:34:45 UTC
commit 28c929cea68898cb1372a0513a776df6eb3a477a
Author: Amadeusz Żołnowski <aidecoe@gentoo.org>
Date:   Fri Aug 14 21:31:10 2015 +0059

    app-admin/logstash-forwarder: Correct postinst log
    
    Gentoo-Bug: 557444
    
    Package-Manager: portage-2.2.20
Comment 2 Tomáš Mózes 2015-08-17 04:17:45 UTC
Just reading https://devmanual.gentoo.org/ebuild-writing/variables/ and it seems like:

PF - Full package name, ${PN}-${PVR}, for example vim-6.3-r1.

So we can probably use this instead of:

elog "See example in /usr/share/doc/${PN}-${PVR} directory. You can"
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2015-08-17 20:47:20 UTC
You're right, I have forgot about it.