Skip to content
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

Packaging script Windows build handling #852

Closed
sparrc opened this issue Mar 15, 2016 · 0 comments
Closed

Packaging script Windows build handling #852

sparrc opened this issue Mar 15, 2016 · 0 comments
Assignees

Comments

@sparrc
Copy link
Contributor

sparrc commented Mar 15, 2016

Packaging script changes appear to have caused some problems with the windows zip packages. There are two problems:

  • It is preserving Linux paths:
$ unp ./telegraf-0.11.0-1_windows_amd64.zip
Archive:  ./telegraf-0.11.0-1_windows_amd64.zip
   creating: etc/
   creating: etc/telegraf/
  inflating: etc/telegraf/telegraf.conf
   creating: etc/logrotate.d/
  inflating: etc/logrotate.d/telegraf
   creating: usr/
   creating: usr/bin/
  inflating: usr/bin/telegraf.exe
   creating: usr/lib/
   creating: usr/lib/telegraf/
   creating: usr/lib/telegraf/scripts/
  inflating: usr/lib/telegraf/scripts/init.sh
  inflating: usr/lib/telegraf/scripts/telegraf.service
   creating: var/
   creating: var/log/
   creating: var/log/telegraf/
  • It is using the wrong default config file, it should be using etc/telegraf_windows.conf, not etc/telegraf.conf

Previously, the windows zip package was just a single directory with two files: telegraf.exe and telegraf.conf (copied from etc/telegraf_windows.conf)

See http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_windows_amd64.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants