Answer the question
In order to leave comments, you need to log in
How to unpack a Chef file?
I am trying to unpack the file with the command
tar_extract '/tmp/mycode-1.2.3.tar.gz' do
action :extract_local
target_dir '/opt/myapp/mycode'
creates '/opt/myapp/mycode/lib'
end
NoMethodError
-------------
undefined method `tar_extract' for cookbook: wordpres_apache, recipe: default :Chef::Recipe
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question