lib/rubocop/cop/chef/modernize/depends_openssl_cookbook.rb in cookstyle-7.20.0 vs lib/rubocop/cop/chef/modernize/depends_openssl_cookbook.rb in cookstyle-7.21.0
- old
+ new
@@ -17,11 +17,11 @@
#
module RuboCop
module Cop
module Chef
module Modernize
- # Don't depend on the openssl cookbook which was made obsolete by Chef Infra Client 14.4. All openssl resource are now included directly in Chef Infra Client.
+ # Don't depend on the `openssl` cookbook which was made obsolete by Chef Infra Client 14.4. All `openssl_*` resources are now included directly in Chef Infra Client.
#
# @example
#
# #### incorrect
# depends 'openssl'
@@ -31,10 +31,10 @@
extend TargetChefVersion
include RangeHelp
minimum_target_chef_version '14.4'
- MSG = "Don't depend on the openssl cookbook which was made obsolete by Chef Infra Client 14.4. All openssl resource are now included directly in Chef Infra Client."
+ MSG = "Don't depend on the `openssl` cookbook which was made obsolete by Chef Infra Client 14.4. All `openssl_*` resources are now included directly in Chef Infra Client."
RESTRICT_ON_SEND = [:depends].freeze
def_node_matcher :legacy_depends?, <<-PATTERN
(send nil? :depends (str "openssl") ... )
PATTERN