chef-cooker 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +24 -3
- data/chef-cooker.gemspec +2 -2
- data/lib/chef-cooker/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# chef-cooker
|
2
2
|
|
3
|
-
|
3
|
+
chef-cooker will be able to create cookbook of Chef easily. yay ;)
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,28 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Suppose if we want cookbook of `tree`
|
22
|
+
|
23
|
+
chef-cooker does:
|
24
|
+
|
25
|
+
1. `knife cookbook create tree --cookbook-path cookbooks`
|
26
|
+
1. Add `package 'tree'` line to recipes/default.rb
|
27
|
+
1. Commit with Git.
|
28
|
+
|
29
|
+
```
|
30
|
+
$ chef-cooker tree
|
31
|
+
WARNING: No knife configuration file found
|
32
|
+
Do you want to append package to cookbooks/tree/recipes/default.rb? [y/N] : y
|
33
|
+
append cookbooks/tree/recipes/default.rb
|
34
|
+
Do you want to commit? [y/N] : y
|
35
|
+
run git add cookbooks/tree from "."
|
36
|
+
run git commit -m "Add tree" from "."
|
37
|
+
[master a2469db] Add tree
|
38
|
+
3 files changed, 28 insertions(+)
|
39
|
+
create mode 100644 cookbooks/tree/README.md
|
40
|
+
create mode 100644 cookbooks/tree/metadata.rb
|
41
|
+
create mode 100644 cookbooks/tree/recipes/default.rb
|
42
|
+
```
|
22
43
|
|
23
44
|
## Contributing
|
24
45
|
|
data/chef-cooker.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/chef-cooker/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Kohei Hasegawa"]
|
6
6
|
gem.email = ["ameutau@gmail.com"]
|
7
|
-
gem.description = %q{
|
8
|
-
gem.summary = %q{
|
7
|
+
gem.description = %q{chef-cooker will be able to create cookbook of Chef easily. yay ;) }
|
8
|
+
gem.summary = %q{chef-cooker will be able to create cookbook of Chef easily. yay ;) }
|
9
9
|
gem.homepage = "http://github.com/banyan/chef-cooker"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
data/lib/chef-cooker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-cooker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70167709122700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,8 +21,8 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
description:
|
24
|
+
version_requirements: *70167709122700
|
25
|
+
description: ! 'chef-cooker will be able to create cookbook of Chef easily. yay ;) '
|
26
26
|
email:
|
27
27
|
- ameutau@gmail.com
|
28
28
|
executables:
|
@@ -62,6 +62,6 @@ rubyforge_project:
|
|
62
62
|
rubygems_version: 1.8.11
|
63
63
|
signing_key:
|
64
64
|
specification_version: 3
|
65
|
-
summary:
|
65
|
+
summary: chef-cooker will be able to create cookbook of Chef easily. yay ;)
|
66
66
|
test_files: []
|
67
67
|
has_rdoc:
|