Skip to main content

PoiseArchiveUsage

The department is: PoiseArchiveUsage

The full name of the cop is: Chef/Deprecations/PoiseArchiveUsage

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