Add rubygems_url property to chef_client_config resource#12724
Conversation
b840842 to
da53339
Compare
|
@decoyjoe I'm letting this run now but it needs some test cases. Can you add some unit and functional tests to show this doesn't break other things and how it gets handled if someone ignores the setting? |
|
Thank you for your PR! Looks like it needs some chefstyle fixes? |
da53339 to
16851b4
Compare
|
@johnmccrae @PrajaktaPurohit I've added passing spec tests and kitchen tests, and fixed the linting failure. |
|
@decoyjoe Can you please replace the single-quotes in your test cases with double-quotes and re-push. (note the linting error above) |
75ed7fc to
9371261
Compare
|
Oops, force of habit. Fixed @johnmccrae |
There was a problem hiding this comment.
this probably isn't necessary. the default should probably be nil, either way it gets handled correctly by the code in the template, but nil is a better "unset" value.
There was a problem hiding this comment.
@lamont-granquist Is your recommendation to set default: nil or to remove the default: entirely?
There was a problem hiding this comment.
You can omit default and it'll gain a default of nil. That'd be preferable.
Signed-off-by: Joseph Larionov <jlarionov@webmd.net>
9371261 to
a8a6887
Compare
Adds a
rubygems_urlproperty to thechef_client_configresource to configure the same such property inclient.rbRelated Issue
Fixes #12711
Types of changes
Checklist: