A Cloud Foundry buildpack to run InfluxData Telegraf as an application in Cloud Foundry.
-
Make sure you have fetched submodules
git submodule update --init
-
Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle install
-
Build the buildpack
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager --cached --any-stack
Upload the buildpack to your Cloud Foundry and optionally specify it by name
cf create-buildpack telegraf_buildpack telegraf_buildpack.zip 1
cf push my_app -b telegraf_buildpack