Commit b537fa47 authored by Xorima Bot's avatar Xorima Bot
Browse files

Cookstyle 6.7.3 Fixes

Issues found and resolved with: libraries/resource.rb

 - 8:7 warning: ChefDeprecations/ResourceUsesOnlyResourceName - Starting with Chef Infra Client 16, using resource_name without also using provides will result in resource failures. Use provides to change the name of the resource instead and omit resource_name entirely if it matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME.
Signed-off-by: default avatarXorima Bot <>
parent 58f52c63
......@@ -2,6 +2,10 @@
This file is used to list changes made in each version of the dpkg_autostart cookbook.
## Unreleased
- resolved cookstyle error: libraries/resource.rb:8:7 warning: `ChefDeprecations/ResourceUsesOnlyResourceName`
## v0.3.0 (2020-05-22)
- Transferred ownership of this cookbook to Sous Chefs
......@@ -5,7 +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