-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
WIP - Package Updates #497
Conversation
… pre install scripts to handle installation and upgrades in a cleaner way. Minor fixes to the init script and service unit file.
@sparrc Can you review the |
Looks good 👍 |
Should we get rid of |
Let's leave it in for now in case we run into any issues with the new script. I'd also like to go through and make sure that all functionality is covered in the future before we strip it out. I've done that for InfluxDB, but it looks like Telegraf's is slightly different. |
cool, LGTM, let me know when it's ready and I'll merge it with the 0.3.0 branch |
@sparrc One caveat to the upgrade path (and this is the same with InfluxDB too) is that RHEL/CentOS users upgrading from 0.2 to 0.3 will probably have their configurations overwritten by the upgrade. There is a backup stored at Other than that, I think this is ready to merge. |
thanks for the heads-up @rossmcdonald, I'll put a note about that in the changelog |
Restructured the package's filesystem hierarchy:
/usr/bin/
/etc/telegraf
In addition:
build.py
script to mirror InfluxDB and Kapacitor.init.sh
scripttelegraf.service
unit file to correct usage of variablepost-install.sh
andpre-install.sh
to handle upgrades and other housekeeping