Created
February 20, 2013 17:47
-
-
Save btm/4997453 to your computer and use it in GitHub Desktop.
Downloading a chef cookbook from a git repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Downloading a chef cookbook from a git repository | |
| btm@btm-mbp-dev:~/devel/chef-repo/cookbooks [master] $ wget https://github.com/opscode-cookbooks/apache2/archive/master.zip | |
| [snip] | |
| 2013-02-20 09:43:44 (349 KB/s) - `master.zip' saved [142580/142580] | |
| btm@btm-mbp-dev:~/devel/chef-repo/cookbooks [master] $ unzip master.zip | |
| Archive: master.zip | |
| [snip] | |
| btm@btm-mbp-dev:~/devel/chef-repo/cookbooks [master] $ mv apache2-master apache2 | |
| btm@btm-mbp-dev:~/devel/chef-repo/cookbooks [master] $ knife cookbook upload apache2 | |
| Uploading apache2 [1.5.0] | |
| Uploaded 1 cookbook. | |
| btm@btm-mbp-dev:~/devel/chef-repo/cookbooks [master] $ rm master.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment