Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/chef-cooker
chef-cooker will be able to create cookbook of Chef easily. yay ;)
https://github.com/banyan/chef-cooker
Last synced: 16 days ago
JSON representation
chef-cooker will be able to create cookbook of Chef easily. yay ;)
- Host: GitHub
- URL: https://github.com/banyan/chef-cooker
- Owner: banyan
- License: mit
- Created: 2012-07-08T10:35:32.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-08T11:15:53.000Z (over 12 years ago)
- Last Synced: 2025-01-01T12:41:37.755Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chef-cooker
chef-cooker will be able to create cookbook of Chef easily. yay ;)
## Installation
Add this line to your application's Gemfile:
gem 'chef-cooker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install chef-cooker
## Usage
Suppose if we want cookbook of `tree`
chef-cooker does:
1. `knife cookbook create tree --cookbook-path cookbooks`
1. Add `package 'tree'` line to recipes/default.rb
1. Commit with Git.```
$ chef-cooker tree
WARNING: No knife configuration file found
Do you want to append package to cookbooks/tree/recipes/default.rb? [y/N] : y
append cookbooks/tree/recipes/default.rb
Do you want to commit? [y/N] : y
run git add cookbooks/tree from "."
run git commit -m "Add tree" from "."
[master a2469db] Add tree
3 files changed, 28 insertions(+)
create mode 100644 cookbooks/tree/README.md
create mode 100644 cookbooks/tree/metadata.rb
create mode 100644 cookbooks/tree/recipes/default.rb
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request