treasure-data / chef-td-agent

Chef Cookbook for td-agent (Treasure Agent or Fluentd)
https://supermarket.chef.io/cookbooks/td-agent
Apache License 2.0
127 stars 121 forks source link

Package for Ubuntu Bionic 18.04 LTS. #119

Closed yadakhov closed 3 years ago

yadakhov commented 6 years ago

I am unable to install td-agent with Ubuntu Bionic 18.04 LTS.

couture-ql commented 4 years ago

It's likely because the current attribute/default.rb is set to 2.2.0, combined with install.rb deriving the wrong path to install a recent version of td-agent. Version 2 appears to be deprecated, or at least has been pruned from http://packages.treasuredata.com.

To fix it you'll need to pin the version to 3.

default['td_agent']['version'] = 3

Some unhelpful advice: you could always abandon this and go with the shell-installer script, but then you'll need to deploy any configurations you previous defined from this recipe.