class RuboCop::Cop::Chef::Modernize::SevenZipArchiveResource

Use the archive_file resource built into Chef Infra Client 15+ instead of the seven_zip_archive

@example

#### incorrect
seven_zip_archive "C:\file.zip" do
  path 'C:\expand_here'
end

Constants

MSG
RESTRICT_ON_SEND

Public Instance Methods

on_send(node) click to toggle source
# File lib/rubocop/cop/chef/modernize/seven_zip_archive.rb, line 39
def on_send(node)
  add_offense(node, message: MSG, severity: :refactor)
end