chef/artifactory-client

Repository options are not enough

Opened this issue · 0 comments

environment

artifactory-client version 2.8.2
Artifactory version 5.3.0
ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]

describe

Repository's option is defined in https://github.com/chef/artifactory-client/blob/master/lib/artifactory/resources/repository.rb#L68-L86 .
However, There are more repository's option in artifactory official document.
When use undefined option, following error happen.

/usr/lib64/ruby/gems/2.3.0/gems/artifactory-2.8.2/lib/artifactory/resources/base.rb:309:in `block in to_hash': undefined method `repositories' for #<Artifactory::Resource::Repository:0x0000000001fd3f08> (NoMethodError)

If you need more info, please comment in this issue.
Thanks