Chef/Deprecations/PoiseArchiveUsage
The Cookstyle cops department: Chef/Deprecations
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 |