Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Wherein I learn that knife support globbing
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 23, 2014
1 parent 1a09782 commit 493eebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -11,10 +11,10 @@ This repository contains chef artifacts used to deploy all the different pieces
#### Roles
We use roles as minimally as possible. All top-level functionality should be in the appropriate role-specific cookbook (i.e. rubygems-app). We only use roles for easing the use of search.

Run `for file in $(ls roles/*.rb); do knife role from file $file; done` after updating any roles to upload them to the Chef server.
Run `knife role from file roles/*.rb` after updating any roles to upload them to the Chef server.

#### Environments
Run `for file in $(ls environments/*.json); do knife environment from file $file; done` after updating any environments to upload them to the Chef server.
Run `knife environment from file environments/*.json` after updating any environments to upload them to the Chef server.

### Bugs and features

0 comments on commit 493eebe

Please sign in to comment.