Skip to content

Commit

Permalink
Cookstyle 7.12.2 Fixes
Browse files Browse the repository at this point in the history
Issues found and resolved with: resources/memcached_instance.rb

 - 1:1 refactor: Chef/Deprecations/ResourceWithoutUnifiedTrue - Set unified_mode true in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 April 2022 when Unified Mode becomes the default. https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue

Signed-off-by: Xorima Bot <[email protected]>
  • Loading branch information
xorimabot authored and ramereth committed May 13, 2021
1 parent 943b240 commit b8937d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This file is used to list changes made in each version of the memcached cookbook
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

- resolved cookstyle error: resources/memcached_instance.rb:1:1 refactor: `Chef/Deprecations/ResourceWithoutUnifiedTrue`

## 6.1.0 (2020-06-18)

- Restore Chef Infra Client < 16 compatibility
Expand Down
1 change: 1 addition & 0 deletions resources/memcached_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

resource_name :memcached_instance
provides :memcached_instance
unified_mode true
provides :memcached_instance_systemd # legacy name

property :instance_name, String, name_property: true
Expand Down

0 comments on commit b8937d3

Please sign in to comment.