Commit 9c56c003 authored by Xorima Bot's avatar Xorima Bot
Browse files

Cookstyle 6.7.3 Fixes

Issues found and resolved with: libraries/resource_runit_service.rb

 - 28: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 3c6e0210
......@@ -2,6 +2,10 @@
This file is used to list changes made in each version of the runit cookbook.
## Unreleased
- resolved cookstyle error: libraries/resource_runit_service.rb:28:7 warning: `ChefDeprecations/ResourceUsesOnlyResourceName`
## 5.1.3 (2020-02-26)
- Cookstyle fixes - [@tas50](
......@@ -25,7 +25,7 @@ class Chef
class Resource
# Missing top-level class documentation comment
class RunitService < Chef::Resource::Service
resource_name :runit_service
provides :runit_service
default_action :enable
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