I added 'depends "artifactory"' in my metadata.rb file.
I added the following in the recipe of my cookbook
artifactory "splunkforwarder-6.1.1-207789-linux-2.6-x86_64" do
group_id "splunkforwarder"
version "6.1.1-207789"
packaging "rpm" # defaults to jar
dest "/tmp"
action :put
end
When I run the chef-client it gives NoMethodError
Undefined method 'group_id' for Chef::Resource::Artifactory
'group_id' is an attribute not a method.
How should I resolve this error?
I added 'depends "artifactory"' in my metadata.rb file. I added the following in the recipe of my cookbook artifactory "splunkforwarder-6.1.1-207789-linux-2.6-x86_64" do group_id "splunkforwarder" version "6.1.1-207789" packaging "rpm" # defaults to jar dest "/tmp" action :put end
When I run the chef-client it gives NoMethodError Undefined method 'group_id' for Chef::Resource::Artifactory 'group_id' is an attribute not a method. How should I resolve this error?