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

td_agent_gem raise error in why-run mode when a machine was not installed td-agent yet. #41

Open
nazoking opened this issue Dec 11, 2014 · 1 comment

Comments

@nazoking
Copy link

recipe is

node.default[:td_agent][:plugins] = [
  "record-reformer"
]

include_recipe 'td-agent'

error is

  * td-agent_gem[record-reformer] action install
================================================================================
Error executing action `install` on resource 'td-agent_gem[record-reformer]'
================================================================================


Errno::ENOENT
-------------
No such file or directory - /usr/lib64/fluent/ruby/bin/fluent-gem env gempath


Resource Declaration:
---------------------
# In /home/ec2-user/chef-solo/cookbooks-2/td-agent/recipes/default.rb

113:     td_agent_gem plugin do
114:       plugin true
115:     end
116:   end



Compiled Resource:
------------------
# Declared in /home/ec2-user/chef-solo/cookbooks-2/td-agent/recipes/default.rb:113:in `block in from_file'

td_agent_gem("record-reformer") do
  provider Chef::Provider::Package::TdRubygems
  action :install
  retries 0
  retry_delay 2
  cookbook_name :"td-agent"
  recipe_name "default"
  plugin true
  package_name "fluent-plugin-record-reformer"
  gem_binary "/usr/lib64/fluent/ruby/bin/fluent-gem"
end
@carlosrochap
Copy link

I'm having a similar issue, but I see that this issue is pretty old

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

No branches or pull requests

2 participants