Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjasghar/chef-provisioning-fog-example
chef-provisioning-fog example setup
https://github.com/jjasghar/chef-provisioning-fog-example
Last synced: 26 days ago
JSON representation
chef-provisioning-fog example setup
- Host: GitHub
- URL: https://github.com/jjasghar/chef-provisioning-fog-example
- Owner: jjasghar
- Created: 2015-10-12T23:09:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-01T21:00:42.000Z (almost 9 years ago)
- Last Synced: 2023-03-22T23:17:12.855Z (over 1 year ago)
- Language: Ruby
- Homepage: http://jjasghar.github.io/blog/2015/09/25/chef-provisioning-fog-step-by-step-day-by-day/
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chef-provisioning-fog-example
## Scope
This is an example repo to leverage [chef-provisioning-fog](https://github.com/chef/chef-provisioning-fog/). Basically you can drop the cookbooks you want to use in `cookbooks/` directory and run the `chef-client` provisioning command and you'll bootstrap your boxes. This should be everything you need to get started.
## Usage
1. Copy/download whatever you want in the `cookbooks/` directory. (there is an example cookbook already there)
1. Edit the [.chef/knife.rb](.chef/knife.rb) for your settings. Including the recipes that you want to run.
1. Run `chef-client -z .rb` or if you've renamed the file that file name.
1. When you're done, you can use the `chef-client -z destroy.rb` to blow everything away.
1. Edit/save this for what you want, this should be enough to bootstrap you now :D.## Settings
| Setting | Notes |
| ------------- |------------- |
| `:openstack_auth_url` | your authentication API endpoint |
| `:openstack_username` | the username that can provision on your cloud |
| `:openstack_api_key` | your username password |
| `:openstack_tenant` | your tenant ID |