cluster_chef 3.0.12 → 3.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +24 -0
- data/Gemfile +3 -2
- data/README.md +5 -1
- data/Rakefile +11 -4
- data/VERSION +1 -1
- data/cluster_chef.gemspec +9 -10
- data/config/ubuntu10.04-cluster_chef.erb +157 -0
- data/config/ubuntu11.10-cluster_chef.erb +145 -0
- data/ironfan.gemspec +123 -0
- data/lib/cluster_chef/chef_layer.rb +4 -0
- data/lib/cluster_chef/compute.rb +0 -1
- data/lib/cluster_chef/discovery.rb +14 -2
- data/lib/cluster_chef/fog_layer.rb +2 -1
- data/lib/cluster_chef/role_implications.rb +2 -2
- data/lib/cluster_chef/server.rb +14 -0
- metadata +89 -92
- data/clusters/website_demo.rb +0 -65
- data/lib/cluster_chef/cookbook_munger.rb +0 -588
- data/lib/cluster_chef/cookbook_munger/README.md.erb +0 -47
- data/lib/cluster_chef/cookbook_munger/licenses.yaml +0 -16
- data/lib/cluster_chef/cookbook_munger/metadata.rb.erb +0 -23
@@ -1,47 +0,0 @@
|
|
1
|
-
# <%= name %> chef cookbook
|
2
|
-
|
3
|
-
<%= description %>
|
4
|
-
|
5
|
-
## Overview
|
6
|
-
|
7
|
-
<%= long_description.present? ? long_description : description %>
|
8
|
-
|
9
|
-
<%- if components[:recipes].present? %>
|
10
|
-
## Recipes
|
11
|
-
|
12
|
-
<%- components[:recipes].each do |recipe| %>
|
13
|
-
* <%= "%-26s" % ('`'+recipe.name+'`') %> - <%= recipe.desc %>
|
14
|
-
<%- end %>
|
15
|
-
<%- end %>
|
16
|
-
|
17
|
-
<%- if all_resources.present? %>
|
18
|
-
## Resources / Providers
|
19
|
-
|
20
|
-
<%- end %>
|
21
|
-
## Integration
|
22
|
-
|
23
|
-
Supports platforms: <%= all_supports.to_sentence %>
|
24
|
-
|
25
|
-
<%- if all_depends.present? %>
|
26
|
-
Cookbook dependencies:
|
27
|
-
<%- all_depends.each do |nm, dep| -%>
|
28
|
-
* <%= dep.gsub(/"/, '') %>
|
29
|
-
<%- end -%><%- end -%>
|
30
|
-
|
31
|
-
## Attributes
|
32
|
-
|
33
|
-
<%- all_attributes.attrs.each do |attrib| %>
|
34
|
-
* <%= "%-35s" % ('`'+attrib.bracketed_name+'`') %> - <%= attrib.display_name %><%- if attrib.default.is_a?(String) || attrib.default.is_a?(Symbol) %> (default: <%= attrib.default.inspect %>)<%- end %>
|
35
|
-
<%- if attrib.description.present? && (attrib.description != attrib.display_name) %>
|
36
|
-
- <%= attrib.description.gsub(/\n/, "\n ") %>
|
37
|
-
<%- end %>
|
38
|
-
<%- end %>
|
39
|
-
|
40
|
-
## License and Author
|
41
|
-
|
42
|
-
Author:: <%= maintainer %> (<<%= maintainer_email %>>)
|
43
|
-
Copyright:: <%= copyright_text %>
|
44
|
-
|
45
|
-
<%= short_license_text %>
|
46
|
-
|
47
|
-
> readme generated by [cluster_chef](http://github.com/infochimps/cluster_chef)'s cookbook_munger
|
@@ -1,16 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
:apachev2:
|
4
|
-
:name: "Apache 2.0"
|
5
|
-
:short: |-
|
6
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
you may not use this file except in compliance with the License.
|
8
|
-
You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
@@ -1,23 +0,0 @@
|
|
1
|
-
maintainer <%= maintainer.inspect %>
|
2
|
-
maintainer_email <%= maintainer_email.inspect %>
|
3
|
-
license <%= license.inspect %>
|
4
|
-
long_description <%= long_desc_gen %>
|
5
|
-
version <%= version.inspect %>
|
6
|
-
|
7
|
-
description <%= description.inspect %>
|
8
|
-
|
9
|
-
<%- all_depends.each do |nm, dep| -%>
|
10
|
-
depends <%= dep %>
|
11
|
-
<%- end -%>
|
12
|
-
|
13
|
-
<%- all_recipes.each do |recipe_name, recipe| -%>
|
14
|
-
recipe <%= "%-37s" % "\"#{name}::#{recipe_name}\"," %> <%= recipe.desc.inspect %>
|
15
|
-
<%- end -%>
|
16
|
-
|
17
|
-
%w[ <%= all_supports.join(" ") %> ].each do |os|
|
18
|
-
supports os
|
19
|
-
end
|
20
|
-
<%- all_attributes.attrs.each do |attrib| %>
|
21
|
-
|
22
|
-
<%= attrib.pretty_str %>
|
23
|
-
<%- end %>
|