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
I made the cookbook working with CentOS 7, it is certainly not a good fix, just that it is working. I am just using this cookbook deploy clients.
changed resource api_call.rb in providers to
action :call do
Chef::Zabbix.with_connection(new_resource.server_connection) do |connection|
connection.query(
:api_method => new_resource.method,
:params => new_resource.parameters
)
end
new_resource.updated_by_last_action(true)
end
def load_current_resource
run_context.include_recipe 'zabbix::_providers_common'
require 'zabbixapi'
end
def validate_parameters(parameters)
Chef::Log.error("#{parameter} isn't an Hash") unless parameters.is_a?(Hash)
end
Hi
chef-client -v
Chef: 13.2.20
Chef Server version is 12.15.6.
The text was updated successfully, but these errors were encountered: