Skip to main content

PoiseArchiveUsage

The department is: PoiseArchiveUsage

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

Enabled by default Supports autocorrection Target Chef Version
Enabled No 15.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

Name Default value Configurable values
Version Added 5.11.0 String
Include
Array

Was this page helpful?

×









Search Results