-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# chef-vagrant | ||
|
||
## Usage | ||
|
||
Clone and edit files: | ||
* data_bags/users/deployer.json.example | ||
* site-cookbooks/mysql_database/recipes/default.rb.example | ||
|
||
Initialize the remote node, also update chef and set node name: | ||
``` | ||
$ knife zero bootstrap [email protected] --bootstrap-install-command "curl chef.sh | sudo bash" --no-converge -N vagrant | ||
``` | ||
|
||
Run Chef-Client to update for node: | ||
``` | ||
$ knife zero converge "name:vagrant" | ||
``` | ||
|
||
Then everything is done! |