From dc6efce3c255fb617afaf93a0c5a014266e3c005 Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Sat, 30 Jan 2016 11:30:01 -0700 Subject: [PATCH] Mention yum/apt repo in README Also add `make windows-build` to Makefile closes #618 --- Makefile | 7 ++++++- README.md | 12 +++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bb3c5486b..04f078857 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ endif default: prepare build # Windows build -windows: prepare-windows build +windows: prepare-windows build-windows # Only run the build (no dependency grabbing) build: @@ -18,6 +18,11 @@ build: "-X main.Version=$(VERSION)" \ ./cmd/telegraf/telegraf.go +build-windows: + go build -o telegraf.exe -ldflags \ + "-X main.Version=$(VERSION)" \ + ./cmd/telegraf/telegraf.go + # Build with race detector dev: prepare go build -race -o telegraf -ldflags \ diff --git a/README.md b/README.md index 88f0f06d2..c737374e3 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ will continue to be supported, see below for download links. For more details on the differences between Telegraf 0.2.x and 0.10.x, see the [release blog post](https://influxdata.com/blog/announcing-telegraf-0-10-0/). -### Linux deb and rpm packages: +### Linux deb and rpm Packages: Latest: * http://get.influxdb.org/telegraf/telegraf_0.10.1-1_amd64.deb @@ -34,7 +34,7 @@ Latest: * http://get.influxdb.org/telegraf/telegraf_0.2.4_amd64.deb * http://get.influxdb.org/telegraf/telegraf-0.2.4-1.x86_64.rpm -##### Package instructions: +##### Package Instructions: * Telegraf binary is installed in `/usr/bin/telegraf` * Telegraf daemon configuration file is in `/etc/telegraf/telegraf.conf` @@ -43,6 +43,12 @@ Latest: * On systemd systems (such as Ubuntu 15+), the telegraf daemon can be controlled via `systemctl [action] telegraf` +### yum/apt Repositories: + +There is a yum/apt repo available for the whole InfluxData stack, see +[here](https://docs.influxdata.com/influxdb/v0.9/introduction/installation/#installation) +for instructions, replacing the `influxdb` package name with `telegraf`. + ### Linux tarballs: Latest: @@ -55,7 +61,7 @@ Latest: * http://get.influxdb.org/telegraf/telegraf_linux_386_0.2.4.tar.gz * http://get.influxdb.org/telegraf/telegraf_linux_arm_0.2.4.tar.gz -##### tarball instructions: +##### tarball Instructions: To install the full directory structure with config file, run: