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

standardizing on multi_chef rather than mixing that with multi-chef #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ __Warning!__ In addition to the above environmental variables, `multi_chef.rb` a

## Getting Started

There are two usage modes for multi-chef: __single__ and __multi__.
There are two usage modes for multi_chef: __single__ and __multi__.

### Single user install

Expand All @@ -50,7 +50,7 @@ Single mode is default and intended for use on non-shared systems (i.e. a person
1. Issue the following eval statement, substituting your own values:

```bash
eval "$(~/multi-chef/multi_chef.rb -a CHEF_HOST -o CHEF_ORG -u CHEF_USER)"
eval "$(~/multi_chef/multi_chef.rb -a CHEF_HOST -o CHEF_ORG -u CHEF_USER)"
```

This should result in output similar to:
Expand Down Expand Up @@ -78,7 +78,7 @@ Optionally, place an eval statement in your ~/.bashrc after the ChefDK shell ini
```bash
# .bashrc snippet...
eval "$(chef shell-init bash)"
eval "$(~/multi-chef/multi_chef.rb -a DEFAULT_CHEF_HOST -o DEFAULT_CHEF_ORG -u DEFAULT_CHEF_USER)"
eval "$(~/multi_chef/multi_chef.rb -a DEFAULT_CHEF_HOST -o DEFAULT_CHEF_ORG -u DEFAULT_CHEF_USER)"
# ...
```

Expand Down Expand Up @@ -123,7 +123,7 @@ Multi mode is intended to be used on a shared multi-user system such as a Knife
export CHEF_USER=${CHEF_USER//./_}

# source Multi Chef
eval "$(/opt/multi-chef/multi_chef.rb -m multi -a COMPANY_CHEF_HOST -o COMPANY_DEFAULT_CHEF_ORG -u $CHEF_USER)"
eval "$(/opt/multi_chef/multi_chef.rb -m multi -a COMPANY_CHEF_HOST -o COMPANY_DEFAULT_CHEF_ORG -u $CHEF_USER)"
fi

```
Expand Down