ironfan 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +10 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -1
- data/LICENSE.md +95 -197
- data/README.md +10 -10
- data/Rakefile +18 -35
- data/VERSION +1 -1
- data/config/ubuntu10.04-ironfan.erb +3 -3
- data/config/ubuntu11.10-ironfan.erb +3 -3
- data/ironfan.gemspec +13 -13
- data/lib/chef/knife/bootstrap/ubuntu10.04-ironfan.erb +3 -3
- data/lib/chef/knife/bootstrap/ubuntu11.10-ironfan.erb +3 -3
- data/lib/chef/knife/cluster_pry.rb +61 -0
- data/lib/chef/knife/ironfan_knife_common.rb +1 -0
- data/lib/ironfan/cloud.rb +26 -26
- data/notes/Backup of ec2-pricing_and_capacity.numbers +0 -0
- data/notes/Home.md +19 -18
- data/notes/INSTALL-cloud_setup.md +1 -1
- data/notes/INSTALL.md +1 -1
- data/notes/Ironfan-Roadmap.md +70 -0
- data/notes/core_concepts.md +17 -6
- data/notes/ec2-pricing_and_capacity.numbers +0 -0
- data/notes/philosophy.md +3 -4
- data/notes/rake_tasks.md +1 -2
- data/notes/silverware.md +82 -2
- metadata +29 -29
- data/cluster_chef-knife.gemspec +0 -122
- data/cluster_chef.gemspec +0 -111
- data/notes/design_notes-dsl_object.md +0 -109
- data/tasks/jeweler_use_alt_branch.rake +0 -53
data/.yardopts
CHANGED
@@ -1,10 +1,19 @@
|
|
1
1
|
--readme README.md
|
2
2
|
--markup markdown
|
3
|
-
--charset UTF-8
|
4
3
|
-
|
5
4
|
VERSION
|
6
5
|
CHANGELOG.md
|
7
6
|
LICENSE.md
|
8
7
|
README.md
|
8
|
+
notes/INSTALL.md
|
9
|
+
notes/core_concepts.md
|
10
|
+
notes/knife-cluster-commands.md
|
11
|
+
notes/philosophy.md
|
12
|
+
notes/silverware.md
|
13
|
+
notes/style_guide.md
|
14
|
+
notes/tips_and_troubleshooting.md
|
15
|
+
notes/walkthrough-hadoop.md
|
16
|
+
notes/homebase-layout.txt
|
17
|
+
|
9
18
|
notes/*.md
|
10
19
|
notes/*.txt
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
# v3.1.5: A bug with quoting in bootstrap scripts
|
2
|
+
|
3
|
+
* Bootstrap scripts with env vars were being interpolated twice, so the bootstrap script quoting was changed to use `'` (single-quote) semantics. I am a bit troubled, because I can't tell when this regression happened. I believe I introduced it while merging @gpaco's bootstrap scripts and didn't notice because the bug strikes most forcefully within the fenced-off 'Is ruby installed?' part. But there's a chance I just screwed over chef 0.10.04 users.
|
4
|
+
|
5
|
+
# v3.1.4: The inevitable post-launch tweaks
|
6
|
+
|
7
|
+
* Lots of documentation fixes, thanks @sya!
|
8
|
+
* Yard docs render pretty now (and quietly)
|
9
|
+
* Knife cluster kick now asks for sudo correctly -- enabling knife to do its password catching thing
|
10
|
+
|
1
11
|
# v3.1.1: I am Ironfan danananananabumbumbum
|
2
12
|
|
3
13
|
* 'ClusterChef has been renamed 'Ironfan'
|
data/Gemfile
CHANGED
data/LICENSE.md
CHANGED
@@ -1,201 +1,99 @@
|
|
1
|
+
# License for Ironfan Toolset
|
2
|
+
|
3
|
+
The ironfan code is __Copyright (c) 2011, 2012 Infochimps, Inc__
|
4
|
+
|
5
|
+
This code is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an **AS IS** BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
10
|
+
|
11
|
+
__________________________________________________________________________
|
12
|
+
|
13
|
+
Some code has been incorporated from outside projects. Terms for these appear in an explicit license statement within that portion of the code tree.
|
14
|
+
|
15
|
+
__________________________________________________________________________
|
16
|
+
|
17
|
+
# Apache License
|
18
|
+
|
19
|
+
|
1
20
|
Apache License
|
2
21
|
Version 2.0, January 2004
|
3
22
|
http://www.apache.org/licenses/
|
4
23
|
|
5
|
-
|
6
|
-
|
7
|
-
1. Definitions.
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
82
|
-
institute patent litigation against any entity (including a
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
85
|
-
or contributory patent infringement, then any patent licenses
|
86
|
-
granted to You under this License for that Work shall terminate
|
87
|
-
as of the date such litigation is filed.
|
88
|
-
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
91
|
-
modifications, and in Source or Object form, provided that You
|
92
|
-
meet the following conditions:
|
93
|
-
|
94
|
-
(a) You must give any other recipients of the Work or
|
95
|
-
Derivative Works a copy of this License; and
|
96
|
-
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
98
|
-
stating that You changed the files; and
|
99
|
-
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
102
|
-
attribution notices from the Source form of the Work,
|
103
|
-
excluding those notices that do not pertain to any part of
|
104
|
-
the Derivative Works; and
|
105
|
-
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
108
|
-
include a readable copy of the attribution notices contained
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
111
|
-
of the following places: within a NOTICE text file distributed
|
112
|
-
as part of the Derivative Works; within the Source form or
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
114
|
-
within a display generated by the Derivative Works, if and
|
115
|
-
wherever such third-party notices normally appear. The contents
|
116
|
-
of the NOTICE file are for informational purposes only and
|
117
|
-
do not modify the License. You may add Your own attribution
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
120
|
-
that such additional attribution notices cannot be construed
|
121
|
-
as modifying the License.
|
122
|
-
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
124
|
-
may provide additional or different license terms and conditions
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
128
|
-
the conditions stated in this License.
|
129
|
-
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
133
|
-
this License, without any additional terms or conditions.
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
-
the terms of any separate license agreement you may have executed
|
136
|
-
with Licensor regarding such Contributions.
|
137
|
-
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
140
|
-
except as required for reasonable and customary use in describing the
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
152
|
-
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
158
|
-
incidental, or consequential damages of any character arising as a
|
159
|
-
result of this License or out of the use or inability to use the
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
162
|
-
other commercial damages or losses), even if such Contributor
|
163
|
-
has been advised of the possibility of such damages.
|
164
|
-
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
-
or other liability obligations and/or rights consistent with this
|
169
|
-
License. However, in accepting such obligations, You may act only
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
174
|
-
of your accepting any such warranty or additional liability.
|
175
|
-
|
176
|
-
END OF TERMS AND CONDITIONS
|
177
|
-
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
179
|
-
|
180
|
-
To apply the Apache License to your work, attach the following
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
-
replaced with your own identifying information. (Don't include
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
184
|
-
comment syntax for the file format. We also recommend that a
|
185
|
-
file or class name and description of purpose be included on the
|
186
|
-
same "printed page" as the copyright notice for easier
|
187
|
-
identification within third-party archives.
|
188
|
-
|
189
|
-
Copyright [yyyy] [name of copyright owner]
|
190
|
-
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
-
you may not use this file except in compliance with the License.
|
193
|
-
You may obtain a copy of the License at
|
194
|
-
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
-
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
-
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
24
|
+
_TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION_
|
25
|
+
|
26
|
+
## 1. Definitions.
|
27
|
+
|
28
|
+
* **License** shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
29
|
+
|
30
|
+
* **Licensor** shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
31
|
+
|
32
|
+
* **Legal Entity** shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
33
|
+
|
34
|
+
* **You** (or **Your**) shall mean an individual or Legal Entity exercising permissions granted by this License.
|
35
|
+
|
36
|
+
* **Source** form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
37
|
+
|
38
|
+
* **Object** form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
39
|
+
|
40
|
+
* **Work** shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
41
|
+
|
42
|
+
* **Derivative Works** shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
43
|
+
|
44
|
+
* **Contribution** shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
45
|
+
|
46
|
+
* **Contributor** shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
47
|
+
|
48
|
+
## 2. Grant of Copyright License.
|
49
|
+
|
50
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
51
|
+
|
52
|
+
## 3. Grant of Patent License.
|
53
|
+
|
54
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
55
|
+
|
56
|
+
## 4. Redistribution.
|
57
|
+
|
58
|
+
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
59
|
+
|
60
|
+
- (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
61
|
+
- (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
62
|
+
- (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
63
|
+
- (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
64
|
+
|
65
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
66
|
+
|
67
|
+
## 5. Submission of Contributions.
|
68
|
+
|
69
|
+
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
70
|
+
|
71
|
+
## 6. Trademarks.
|
72
|
+
|
73
|
+
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
74
|
+
|
75
|
+
## 7. Disclaimer of Warranty.
|
76
|
+
|
77
|
+
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
78
|
+
|
79
|
+
## 8. Limitation of Liability.
|
80
|
+
|
81
|
+
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
82
|
+
|
83
|
+
## 9. Accepting Warranty or Additional Liability.
|
84
|
+
|
85
|
+
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
86
|
+
|
87
|
+
_END OF TERMS AND CONDITIONS_
|
88
|
+
|
89
|
+
## APPENDIX: How to apply the Apache License to your work.
|
90
|
+
|
91
|
+
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets `[]` replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
92
|
+
|
93
|
+
> Copyright [yyyy] [name of copyright owner]
|
94
|
+
>
|
95
|
+
> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
|
96
|
+
>
|
97
|
+
> http://www.apache.org/licenses/LICENSE-2.0
|
98
|
+
>
|
99
|
+
> Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Ironfan Core: Knife Tools and Core Models
|
2
2
|
|
3
3
|
Ironfan, the foundation of The Infochimps Platform, is an expressive toolset for constructing scalable, resilient architectures. It works in the cloud, in the data center, and on your laptop, and it makes your system diagram visible and inevitable. Inevitable systems coordinate automatically to interconnect, removing the hassle of manual configuration of connection points (and the associated danger of human error).
|
4
|
-
For more information about Ironfan and
|
4
|
+
For more information about Ironfan and the Infochimps Platform, visit [infochimps.com](http://www.infochimps.com/).
|
5
5
|
|
6
6
|
This repo implements:
|
7
7
|
|
@@ -11,7 +11,7 @@ This repo implements:
|
|
11
11
|
|
12
12
|
## Getting Started
|
13
13
|
|
14
|
-
To jump right into using Ironfan, follow our [Installation Instructions](https://github.com/infochimps-labs/ironfan/wiki/INSTALL). For an explanatory tour, check out our [
|
14
|
+
To jump right into using Ironfan, follow our [Installation Instructions](https://github.com/infochimps-labs/ironfan/wiki/INSTALL). For an explanatory tour, check out our [Web Walkthrough](https://github.com/infochimps-labs/ironfan/wiki/walkthrough-web). Please file all issues on [Ironfan issues](https://github.com/infochimps-labs/ironfan/issues).
|
15
15
|
|
16
16
|
### Tools
|
17
17
|
|
@@ -27,16 +27,16 @@ Ironfan consists of the following Toolset:
|
|
27
27
|
|
28
28
|
### Documentation
|
29
29
|
|
30
|
-
* [ironfan wiki](https://github.com/infochimps-labs/ironfan/wiki): high-level documentation and install instructions
|
31
30
|
* [Index of wiki pages](https://github.com/infochimps-labs/ironfan/wiki/_pages)
|
32
|
-
* [
|
33
|
-
* [
|
34
|
-
* Ironfan
|
31
|
+
* [Ironfan wiki](https://github.com/infochimps-labs/ironfan/wiki): high-level documentation
|
32
|
+
* [Ironfan issues](https://github.com/infochimps-labs/ironfan/issues): bugs, questions and feature requests for *any* part of the ironfan toolset.
|
33
|
+
* [Ironfan gem docs](http://rdoc.info/gems/ironfan): rdoc docs for Ironfan
|
35
34
|
* [Ironfan Screencast](http://bit.ly/ironfan-hadoop-in-20-minutes) -- build a Hadoop cluster from scratch in 20 minutes.
|
35
|
+
* Ironfan powers the [Infochimps Platform](http://www.infochimps.com/how-it-works), our scalable enterprise big data platform. Ironfan Enterprise adds zero-configuration logging, monitoring and a compelling UI.
|
36
36
|
|
37
37
|
### The Ironfan Way
|
38
38
|
|
39
|
-
* [Core Concepts](core_concepts) -- Components, Announcements, Amenities and more.
|
40
|
-
* [Philosophy](
|
41
|
-
* [Style Guide](style_guide) --
|
42
|
-
* [Homebase Layout](homebase-layout) --
|
39
|
+
* [Core Concepts](https://github.com/infochimps-labs/ironfan/wiki/core_concepts) -- Components, Announcements, Amenities and more.
|
40
|
+
* [Philosophy](https://github.com/infochimps-labs/ironfan/wiki/Philosophy) -- Best practices and lessons learned
|
41
|
+
* [Style Guide](https://github.com/infochimps-labs/ironfan/wiki/style_guide) -- Common attribute names, how and when to include other cookbooks, and more
|
42
|
+
* [Homebase Layout](https://github.com/infochimps-labs/ironfan/wiki/homebase-layout) -- How this homebase is organized, and why
|
data/Rakefile
CHANGED
@@ -18,8 +18,6 @@
|
|
18
18
|
# limitations under the License.
|
19
19
|
#
|
20
20
|
|
21
|
-
DEPRECATED_NAME = "!! This gem has been renamed 'ironfan' (from cluster_chef). \n It will not be updated after Feb. 2012. \n Sorry for the inconvenience."
|
22
|
-
|
23
21
|
require 'rubygems' unless defined?(Gem)
|
24
22
|
require 'bundler'
|
25
23
|
begin
|
@@ -43,41 +41,24 @@ Dir[File.join('tasks', '*.rake')].sort.each{|f| load(f) }
|
|
43
41
|
# Jeweler -- release ironfan as a gem
|
44
42
|
#
|
45
43
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
gem.email = SSL_EMAIL_ADDRESS
|
55
|
-
gem.authors = ["Infochimps"]
|
56
|
-
|
57
|
-
ignores = File.readlines(".gitignore").grep(/^[^#]\S+/).map{|s| s.chomp }
|
58
|
-
dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopts"]
|
59
|
-
gem.files = dotfiles + Dir["**/*"].
|
60
|
-
reject{|f| f =~ %r{^cookbooks/} }.
|
61
|
-
reject{|f| File.directory?(f) }.
|
62
|
-
reject{|f| ignores.any?{|i| File.fnmatch(i, f) || File.fnmatch(i+'/*', f) || File.fnmatch(i+'/**/*', f) } }
|
63
|
-
gem.test_files = gem.files.grep(/^spec\//)
|
64
|
-
gem.require_paths = ['lib']
|
44
|
+
Jeweler::Tasks.new do |gem|
|
45
|
+
gem.name = 'ironfan'
|
46
|
+
gem.homepage = "http://infochimps.com/labs"
|
47
|
+
gem.license = NEW_COOKBOOK_LICENSE.to_s
|
48
|
+
gem.summary = %Q{Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks.}
|
49
|
+
gem.description = %Q{Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks.}
|
50
|
+
gem.email = SSL_EMAIL_ADDRESS
|
51
|
+
gem.authors = ["Infochimps"]
|
65
52
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
elsif gem.name == 'ironfan'
|
74
|
-
true # pass
|
75
|
-
else
|
76
|
-
raise "Don't know what to include for gem #{gem.name}"
|
77
|
-
end
|
78
|
-
end
|
79
|
-
Jeweler::RubygemsDotOrgTasks.new
|
53
|
+
ignores = File.readlines(".gitignore").grep(/^[^#]\S+/).map{|s| s.chomp }
|
54
|
+
dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopts"]
|
55
|
+
gem.files = dotfiles + Dir["**/*"].
|
56
|
+
reject{|f| File.directory?(f) }.
|
57
|
+
reject{|f| ignores.any?{|i| File.fnmatch(i, f) || File.fnmatch(i+'/*', f) || File.fnmatch(i+'/**/*', f) } }
|
58
|
+
gem.test_files = gem.files.grep(/^spec\//)
|
59
|
+
gem.require_paths = ['lib']
|
80
60
|
end
|
61
|
+
Jeweler::RubygemsDotOrgTasks.new
|
81
62
|
|
82
63
|
# ---------------------------------------------------------------------------
|
83
64
|
#
|
@@ -98,6 +79,8 @@ end
|
|
98
79
|
# Yard -- documentation
|
99
80
|
#
|
100
81
|
YARD::Rake::YardocTask.new
|
82
|
+
desc "Alias for 'rake yard'"
|
83
|
+
task :doc => :yard
|
101
84
|
|
102
85
|
# ---------------------------------------------------------------------------
|
103
86
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.5
|
@@ -1,4 +1,4 @@
|
|
1
|
-
bash <<EOF || echo "Chef bootstrap failed!"
|
1
|
+
bash <<'EOF' || echo "Chef bootstrap failed!"
|
2
2
|
|
3
3
|
# This is the ubuntu natty bootstrap script from infochimps' ironfan. It is
|
4
4
|
# based on opscode's bootstrap script, with the following important differences:
|
@@ -124,11 +124,11 @@ EOP
|
|
124
124
|
echo -e "`date` \n\n**** \n**** Adding chef client runit scripts:\n****\n"
|
125
125
|
( service chef-client stop >/dev/null 2>&1 ; sleep 1 ; killall chef-client 2>/dev/null ) || true
|
126
126
|
mkdir -p /var/log/chef /var/chef /etc/service /etc/sv/chef-client/{log/main,supervise}
|
127
|
-
cat > /etc/sv/chef-client/log/run <<EOP
|
127
|
+
cat > /etc/sv/chef-client/log/run <<'EOP'
|
128
128
|
#!/bin/bash
|
129
129
|
exec svlogd -tt ./main
|
130
130
|
EOP
|
131
|
-
cat > /etc/sv/chef-client/run <<EOP
|
131
|
+
cat > /etc/sv/chef-client/run <<'EOP'
|
132
132
|
#!/bin/bash
|
133
133
|
exec 2>&1
|
134
134
|
exec /usr/bin/env chef-client -i 43200 -s 20 -L /var/log/chef/client.log
|
@@ -1,4 +1,4 @@
|
|
1
|
-
bash <<EOF || echo "Chef bootstrap failed!"
|
1
|
+
bash <<'EOF' || echo "Chef bootstrap failed!"
|
2
2
|
|
3
3
|
# This is the ubuntu oneiric bootstrap script from infochimps' ironfan. It is
|
4
4
|
# based on the opscode bootstrap script, with the important differences being it:
|
@@ -112,11 +112,11 @@ EOP
|
|
112
112
|
echo -e "`date` \n\n**** \n**** Adding chef client runit scripts:\n****\n"
|
113
113
|
( service chef-client stop >/dev/null 2>&1 ; sleep 1 ; killall chef-client 2>/dev/null ) || true
|
114
114
|
mkdir -p /var/log/chef /var/chef /etc/service /etc/sv/chef-client/{log/main,supervise}
|
115
|
-
cat > /etc/sv/chef-client/log/run <<EOP
|
115
|
+
cat > /etc/sv/chef-client/log/run <<'EOP'
|
116
116
|
#!/bin/bash
|
117
117
|
exec svlogd -tt ./main
|
118
118
|
EOP
|
119
|
-
cat > /etc/sv/chef-client/run <<EOP
|
119
|
+
cat > /etc/sv/chef-client/run <<'EOP'
|
120
120
|
#!/bin/bash
|
121
121
|
exec 2>&1
|
122
122
|
exec /usr/bin/env chef-client -i 43200 -s 20 -L /var/log/chef/client.log
|
data/ironfan.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "ironfan"
|
8
|
-
s.version = "3.1.
|
8
|
+
s.version = "3.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Infochimps"]
|
12
|
-
s.date = "2012-02
|
13
|
-
s.description = "
|
12
|
+
s.date = "2012-04-02"
|
13
|
+
s.description = "Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks."
|
14
14
|
s.email = "coders@infochimps.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.md",
|
@@ -29,8 +29,6 @@ Gem::Specification.new do |s|
|
|
29
29
|
"TODO.md",
|
30
30
|
"VERSION",
|
31
31
|
"chefignore",
|
32
|
-
"cluster_chef-knife.gemspec",
|
33
|
-
"cluster_chef.gemspec",
|
34
32
|
"config/client.rb",
|
35
33
|
"config/proxy.pac",
|
36
34
|
"config/ubuntu10.04-ironfan.erb",
|
@@ -44,6 +42,7 @@ Gem::Specification.new do |s|
|
|
44
42
|
"lib/chef/knife/cluster_launch.rb",
|
45
43
|
"lib/chef/knife/cluster_list.rb",
|
46
44
|
"lib/chef/knife/cluster_proxy.rb",
|
45
|
+
"lib/chef/knife/cluster_pry.rb",
|
47
46
|
"lib/chef/knife/cluster_show.rb",
|
48
47
|
"lib/chef/knife/cluster_ssh.rb",
|
49
48
|
"lib/chef/knife/cluster_start.rb",
|
@@ -71,9 +70,11 @@ Gem::Specification.new do |s|
|
|
71
70
|
"lib/ironfan/server.rb",
|
72
71
|
"lib/ironfan/server_slice.rb",
|
73
72
|
"lib/ironfan/volume.rb",
|
73
|
+
"notes/Backup of ec2-pricing_and_capacity.numbers",
|
74
74
|
"notes/Home.md",
|
75
75
|
"notes/INSTALL-cloud_setup.md",
|
76
76
|
"notes/INSTALL.md",
|
77
|
+
"notes/Ironfan-Roadmap.md",
|
77
78
|
"notes/advanced-superpowers.md",
|
78
79
|
"notes/aws_servers.jpg",
|
79
80
|
"notes/aws_user_key.png",
|
@@ -83,9 +84,9 @@ Gem::Specification.new do |s|
|
|
83
84
|
"notes/design_notes-aspect_oriented_devops.md",
|
84
85
|
"notes/design_notes-ci_testing.md",
|
85
86
|
"notes/design_notes-cookbook_event_ordering.md",
|
86
|
-
"notes/design_notes-dsl_object.md",
|
87
87
|
"notes/design_notes-meta_discovery.md",
|
88
88
|
"notes/ec2-pricing_and_capacity.md",
|
89
|
+
"notes/ec2-pricing_and_capacity.numbers",
|
89
90
|
"notes/homebase-layout.txt",
|
90
91
|
"notes/knife-cluster-commands.md",
|
91
92
|
"notes/named-cloud-objects.md",
|
@@ -107,14 +108,13 @@ Gem::Specification.new do |s|
|
|
107
108
|
"spec/spec_helper.rb",
|
108
109
|
"spec/spec_helper/dummy_chef.rb",
|
109
110
|
"spec/test_config.rb",
|
110
|
-
"tasks/chef_config.rake"
|
111
|
-
"tasks/jeweler_use_alt_branch.rake"
|
111
|
+
"tasks/chef_config.rake"
|
112
112
|
]
|
113
113
|
s.homepage = "http://infochimps.com/labs"
|
114
114
|
s.licenses = ["apachev2"]
|
115
115
|
s.require_paths = ["lib"]
|
116
|
-
s.rubygems_version = "1.8.
|
117
|
-
s.summary = "
|
116
|
+
s.rubygems_version = "1.8.11"
|
117
|
+
s.summary = "Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks."
|
118
118
|
s.test_files = ["spec/ironfan/cluster_spec.rb", "spec/ironfan/facet_spec.rb", "spec/ironfan/server_slice_spec.rb", "spec/ironfan/server_spec.rb", "spec/ironfan_spec.rb", "spec/spec_helper/dummy_chef.rb", "spec/spec_helper.rb", "spec/test_config.rb"]
|
119
119
|
|
120
120
|
if s.respond_to? :specification_version then
|
@@ -122,7 +122,7 @@ Gem::Specification.new do |s|
|
|
122
122
|
|
123
123
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
124
124
|
s.add_runtime_dependency(%q<chef>, ["~> 0.10.4"])
|
125
|
-
s.add_runtime_dependency(%q<fog>, ["~> 1.
|
125
|
+
s.add_runtime_dependency(%q<fog>, ["~> 1.2.0"])
|
126
126
|
s.add_runtime_dependency(%q<formatador>, ["~> 0.2.1"])
|
127
127
|
s.add_runtime_dependency(%q<gorillib>, ["~> 0.1.7"])
|
128
128
|
s.add_development_dependency(%q<bundler>, ["~> 1"])
|
@@ -132,7 +132,7 @@ Gem::Specification.new do |s|
|
|
132
132
|
s.add_development_dependency(%q<redcarpet>, ["~> 2"])
|
133
133
|
else
|
134
134
|
s.add_dependency(%q<chef>, ["~> 0.10.4"])
|
135
|
-
s.add_dependency(%q<fog>, ["~> 1.
|
135
|
+
s.add_dependency(%q<fog>, ["~> 1.2.0"])
|
136
136
|
s.add_dependency(%q<formatador>, ["~> 0.2.1"])
|
137
137
|
s.add_dependency(%q<gorillib>, ["~> 0.1.7"])
|
138
138
|
s.add_dependency(%q<bundler>, ["~> 1"])
|
@@ -143,7 +143,7 @@ Gem::Specification.new do |s|
|
|
143
143
|
end
|
144
144
|
else
|
145
145
|
s.add_dependency(%q<chef>, ["~> 0.10.4"])
|
146
|
-
s.add_dependency(%q<fog>, ["~> 1.
|
146
|
+
s.add_dependency(%q<fog>, ["~> 1.2.0"])
|
147
147
|
s.add_dependency(%q<formatador>, ["~> 0.2.1"])
|
148
148
|
s.add_dependency(%q<gorillib>, ["~> 0.1.7"])
|
149
149
|
s.add_dependency(%q<bundler>, ["~> 1"])
|