Information Technology Reference
In-Depth Information
NOTE
I've specified the version in all these commands because cookbooks change frequently,
even though you don't have to specify a version to get the very latest cookbook.
The downloaded cookbook package is a .tar.gz file (a gzip-compressed .tar file). You'll
need to extract it with the tar command. Use the -C option to make sure the cookbook is ex-
tracted as chef-repo/cookbooks/chef-client . You'll want to store all downloaded cookbooks in
chef-repo/cookbooks . Use the tar command to extract the archive.
Linux/Mac OS X:
$ tar xvf chef-client*.tar.gz -C cookbooks/
x chef-client/README.md
x chef-client/CHANGELOG.md
x chef-client/metadata.json
x chef-client/metadata.rb
x chef-client/attributes/default.rb
x chef-client/files/default
x chef-client/files/default/tests
...
Windows:
$ bash tar xvf .\chef-client-3.7.0.tar.gz -C cookbooks
x chef-client/README.md
x chef-client/CHANGELOG.md
x chef-client/metadata.json
x chef-client/metadata.rb
x chef-client/attributes/default.rb
x chef-client/files/default
x chef-client/files/default/tests
...
Search WWH ::




Custom Search