Commit b6e5630c authored by Tim Smith's avatar Tim Smith

Restore Chef Infra Client < 16 compatibility

Chef Infra Client 16 needs provides and Chef Infra Client < 16 needs resource_name here. If we support both then we need both.
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent a09a27c0
......@@ -2,6 +2,10 @@
This file is used to list changes made in each version of the dpkg_autostart cookbook.
## UNRELEASED
- Restore Chef Infra Client < 16 compatibility
## v0.3.1 (2020-06-02)
- resolved cookstyle error: libraries/resource.rb:8:7 warning: `ChefDeprecations/ResourceUsesOnlyResourceName`
......
......@@ -5,6 +5,7 @@ class Chef
class DpkgAutostart < Chef::Resource
allowed_actions [:nothing, :create]
resource_name :dpkg_autostart
provides :dpkg_autostart
default_action :nothing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment