Skip to main content

Chef/Deprecations/PoiseArchiveUsage

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNo15.0+

The poise_archive resource in the deprecated poise-archive should be replaced with the archive_file resource found in Chef Infra Client 15+.

Examples

incorrect

poise_archive 'https://example.com/myapp.tgz' do
  destination '/opt/my_app'
end

correct

archive_file 'https://example.com/myapp.tgz' do
  destination '/opt/my_app'
end

Configurable attributes

NameDefault valueConfigurable values
Version Added5.11.0String
Include
    Array

    Thank you for your feedback!

    ×









    Search Results