You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
That seems to originate from this plugin provider code:
case @install_type
when 'native'
ex = execute "bin/plugin install #{ls_name}" do
command "bin/plugin install #{ls_name}"
user ls_user
group ls_group
cwd ls_instance_dir
notifies :restart, "logstash_service[#{ls_instance}]"
# this is a temp workaround to make the plugin command idempotent.
not_if { ::File.exist?("#{ls_instance_dir}/#{ls_install_check}") }
end
new_resource.updated_by_last_action(ex.updated_by_last_action?)
Which suggests that the file is not being created in the right place by execution of that code. The plugin seems to exist, though:
[~]# /opt/logstash/server/bin/plugin list | grep influx
logstash-output-influxdb
Where is "#{ls_instance_dir}/#{ls_install_check}"? Wherever that is, chef is not finding what it needs to find there.
We've noticed that logstash server is getting restarted on every chef run. It seems to be due to this:
That seems to originate from this plugin provider code:
Which suggests that the file is not being created in the right place by execution of that code. The plugin seems to exist, though:
Where is "#{ls_instance_dir}/#{ls_install_check}"? Wherever that is, chef is not finding what it needs to find there.
/cc @annisele
The text was updated successfully, but these errors were encountered: