Closed kbrowns closed 6 years ago
The error I'm getting is very similar, but not quite identical:
NoMethodError:
undefined method `public_keys' for Chef::Resource::JenkinsView
I was able to fix it by adding the following to my metadata.rb:
depends 'jenkins', '< 6.1.0'
the resource_name field in the new resource wasn't updated and this was causing things to load incorrectly. Should be fixed in 6.2 now
6.2 works for me!
Cookbook version
6.1.0
Chef-client version
14.2.0
Platform Details
awslinux2, fedora28
Scenario:
jenkins_user is broken by the following commit that appears to inadvertently assign the ownership of the jenkins_user resource name to the JenkinsView class.
https://github.com/chef-cookbooks/jenkins/commit/e1242340815932f1ff4c9aaa74d1832dd9ff26b9
Steps to Reproduce:
converge any recipe that uses the jenkins_user resource
Expected Result:
successful compile, converge, and user creation
Actual Result:
Fails with the following error: