Hi,
if i try to install opensearch plugin i receive an error because seems that from version 4 td-agent-gem doesn't support anymore the --no-rdoc option. I tried to find this option inside cookbook but i didn't find where is declared.
================================================================================
Error executing action `install` on resource 'td_agent_gem[opensearch]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /usr/sbin/td-agent-gem install fluent-plugin-opensearch -q --no-rdoc --no-ri -v "1.0.0" ----
STDOUT:
STDERR: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-rdoc
Did you mean? no-force
---- End output of /usr/sbin/td-agent-gem install fluent-plugin-opensearch -q --no-rdoc --no-ri -v "1.0.0" ----
Ran /usr/sbin/td-agent-gem install fluent-plugin-opensearch -q --no-rdoc --no-ri -v "1.0.0" returned 1
Resource Declaration:
---------------------
# In /var/chef/runs/cde65ad4-a10f-46c8-acdc-d1d048c5fca0/local-mode-cache/cache/cookbooks/td-agent/recipes/configure.rb
36: td_agent_gem plugin do
37: plugin true
38: notifies :restart, "service[td-agent]", :delayed
39: end
40: end
Compiled Resource:
------------------
# Declared in /var/chef/runs/cde65ad4-a10f-46c8-acdc-d1d048c5fca0/local-mode-cache/cache/cookbooks/td-agent/recipes/configure.rb:36:in `block in from_file'
td_agent_gem("opensearch") do
package_name "fluent-plugin-opensearch"
provider Chef::Provider::Package::TdRubygems
action :install
retries 0
retry_delay 2
default_guard_interpreter :default
plugin true
gem_binary "/usr/sbin/td-agent-gem"
declared_type :td_agent_gem
cookbook_name "td-agent"
recipe_name "configure"
end
Platform:
---------
x86_64-linux
Hi, if i try to install opensearch plugin i receive an error because seems that from version 4 td-agent-gem doesn't support anymore the --no-rdoc option. I tried to find this option inside cookbook but i didn't find where is declared.