Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #136 thanks @jeremymv2 #141

Merged
merged 1 commit into from
Nov 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions examples/chef-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ This directory contains a simple vagrant setup that expects you have a Chef Serv

1.) Upload cookbook to Chef Server

```
$ berks vendor -e integration
Resolving cookbook dependencies...
Fetching 'audit' from source at .
Using audit (2.0.0) from source at .
Using compat_resource (12.16.1)
Using chef_handler (2.0.0)
Vendoring audit (2.0.0) to /Users/jmiller/Devel/ChefProject/audit/berks-cookbooks/audit
Vendoring chef_handler (2.0.0) to /Users/jmiller/Devel/ChefProject/audit/berks-cookbooks/chef_handler
Vendoring compat_resource (12.16.1) to /Users/jmiller/Devel/ChefProject/audit/berks-cookbooks/compat_resource
$ knife cookbook upload -a -o berks-cookbooks
Uploading audit [2.0.0]
Uploading chef_handler [2.0.0]
Uploading compat_resource [12.16.1]
Uploaded all cookbooks.
$
```

Or if you want to upload cookbooks individually, you could use `knife`. This expects that `compat_resource` and `chef_handler` are already uploaded to Chef Server.

```
mkdir cookbooks
cd cookbooks
Expand Down