chef-cookbooks / ssh_known_hosts

Development repository for Chef Cookbook ssh_known_hosts
https://supermarket.chef.io/cookbooks/ssh_known_hosts
Apache License 2.0
72 stars 77 forks source link

Remove dependency on deprecated cookbook partial_search #55

Closed iennae closed 8 years ago

iennae commented 8 years ago

Cookbook version

Latest 2.0.0

Chef-client version

Not Relevant

Platform Details

All AFAIK.

Scenario:

When investigating a PR, ran into this error

Chef::REST is deprecated. Please use Chef::ServerAPI, or investigate Ridley or ChefAPI. at 1 location: - /tmp/kitchen/cache/cookbooks/partial_search/libraries/partial_search.rb:35:in `new'

, and looked up the cookbook partial_search info, and discovered it's deprecated.

Steps to Reproduce:

kitchen converge INSTANCE

Expected Result:

No errors.

Actual Result:

Chef::REST is deprecated. Please use Chef::ServerAPI, or investigate Ridley or ChefAPI. at 1 location: - /tmp/kitchen/cache/cookbooks/partial_search/libraries/partial_search.rb:35:in `new'
iennae commented 8 years ago

Resolved with version 3.0.0 of this cookbook.