lib/rubocop/cop/chef/deprecation/poise_archive.rb in cookstyle-6.11.4 vs lib/rubocop/cop/chef/deprecation/poise_archive.rb in cookstyle-6.12.6

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true # # Copyright:: 2019, Chef Software, Inc. # Author:: Tim Smith (<tsmith@chef.io>) # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -33,10 +34,10 @@ # end # class PoiseArchiveUsage < Cop include RuboCop::Chef::CookbookHelpers - MSG = 'The poise_archive resource in the deprecated poise-archive should be replaced with the archive_file resource found in Chef Infra Client 15+'.freeze + MSG = 'The poise_archive resource in the deprecated poise-archive should be replaced with the archive_file resource found in Chef Infra Client 15+' def_node_matcher :depends_poise_archive?, <<-PATTERN (send nil? :depends (str "poise-archive")) PATTERN