summaryrefslogtreecommitdiff
path: root/lib/chef/resource/archive_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/archive_file.rb')
-rw-r--r--lib/chef/resource/archive_file.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/archive_file.rb b/lib/chef/resource/archive_file.rb
index 4d77ee979b..c1e51cfaa1 100644
--- a/lib/chef/resource/archive_file.rb
+++ b/lib/chef/resource/archive_file.rb
@@ -85,8 +85,7 @@ class Chef
alias_method :extract_options, :options
alias_method :extract_to, :destination
- action :extract do
- description "Extract and archive file."
+ action :extract, description: "Extract and archive file." do
require_libarchive