Sha256: 13b41df8d81e256684bfd992e2ea6b843b641d6cf765e0b12a3966fc5ccb9380

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-cooker-0.0.3 README.md