elevage 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/README.md +33 -11
  4. data/elevage.gemspec +15 -15
  5. data/features/archive +3 -22
  6. data/features/build.feature +2 -1
  7. data/features/generate.feature +3 -9
  8. data/features/health_env_failure.feature +2 -8
  9. data/features/health_failure.feature +1 -2
  10. data/features/health_success.feature +3 -9
  11. data/features/list.feature +3 -9
  12. data/features/step_definitions/elevage_steps.rb +2 -2
  13. data/lib/elevage/build.rb +4 -1
  14. data/lib/elevage/constants.rb +2 -2
  15. data/lib/elevage/environment.rb +66 -39
  16. data/lib/elevage/generate.rb +4 -3
  17. data/lib/elevage/health.rb +4 -0
  18. data/lib/elevage/new.rb +4 -2
  19. data/lib/elevage/platform.rb +11 -3
  20. data/lib/elevage/provisioner.rb +61 -21
  21. data/lib/elevage/provisionerrunqueue.rb +25 -10
  22. data/lib/elevage/templates/vcenter.yml.tt +7 -12
  23. data/lib/elevage/version.rb +1 -1
  24. data/lib/elevage.rb +5 -0
  25. metadata +58 -88
  26. data/.ruby-version +0 -1
  27. data/.yardoc/checksums +0 -12
  28. data/.yardoc/object_types +0 -0
  29. data/.yardoc/objects/root.dat +0 -0
  30. data/.yardoc/proxy_types +0 -0
  31. data/doc/Elevage/Build.html +0 -435
  32. data/doc/Elevage/CLI.html +0 -282
  33. data/doc/Elevage/Environment.html +0 -950
  34. data/doc/Elevage/Generate.html +0 -346
  35. data/doc/Elevage/Health.html +0 -359
  36. data/doc/Elevage/New.html +0 -411
  37. data/doc/Elevage/Platform.html +0 -1119
  38. data/doc/Elevage/Provisioner.html +0 -804
  39. data/doc/Elevage/ProvisionerRunQueue.html +0 -765
  40. data/doc/Elevage/Runner.html +0 -319
  41. data/doc/Elevage.html +0 -501
  42. data/doc/_index.html +0 -239
  43. data/doc/class_list.html +0 -58
  44. data/doc/css/common.css +0 -1
  45. data/doc/css/full_list.css +0 -57
  46. data/doc/css/style.css +0 -339
  47. data/doc/file.README.html +0 -187
  48. data/doc/file_list.html +0 -60
  49. data/doc/frames.html +0 -26
  50. data/doc/index.html +0 -187
  51. data/doc/js/app.js +0 -219
  52. data/doc/js/full_list.js +0 -181
  53. data/doc/js/jquery.js +0 -4
  54. data/doc/method_list.html +0 -369
  55. data/doc/top-level-namespace.html +0 -112
data/doc/_index.html DELETED
@@ -1,239 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Documentation by YARD 0.8.7.6
8
-
9
- </title>
10
-
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
-
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
-
15
- <script type="text/javascript" charset="utf-8">
16
- hasFrames = window.top.frames.main ? true : false;
17
- relpath = '';
18
- framesUrl = "frames.html#!_index.html";
19
- </script>
20
-
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <div id="header">
30
- <div id="menu">
31
-
32
-
33
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
34
- </div>
35
-
36
- <div id="search">
37
-
38
- <a class="full_list_link" id="class_list_link"
39
- href="class_list.html">
40
- Class List
41
- </a>
42
-
43
- <a class="full_list_link" id="method_list_link"
44
- href="method_list.html">
45
- Method List
46
- </a>
47
-
48
- <a class="full_list_link" id="file_list_link"
49
- href="file_list.html">
50
- File List
51
- </a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
60
- <div id="listing">
61
- <h1 class="alphaindex">Alphabetic Index</h1>
62
-
63
- <h2>File Listing</h2>
64
- <ul id="files" class="index_inline_list">
65
-
66
-
67
- <li class="r1"><a href="index.html" title="README">README</a></li>
68
-
69
-
70
- </ul>
71
-
72
- <div class="clear"></div>
73
- <h2>Namespace Listing A-Z</h2>
74
-
75
-
76
-
77
-
78
- <table>
79
- <tr>
80
- <td valign='top' width="33%">
81
-
82
-
83
- <ul id="alpha_B" class="alpha">
84
- <li class="letter">B</li>
85
- <ul>
86
-
87
- <li>
88
- <span class='object_link'><a href="Elevage/Build.html" title="Elevage::Build (class)">Build</a></span>
89
-
90
- <small>(Elevage)</small>
91
-
92
- </li>
93
-
94
- </ul>
95
- </ul>
96
-
97
-
98
- <ul id="alpha_C" class="alpha">
99
- <li class="letter">C</li>
100
- <ul>
101
-
102
- <li>
103
- <span class='object_link'><a href="Elevage/CLI.html" title="Elevage::CLI (class)">CLI</a></span>
104
-
105
- <small>(Elevage)</small>
106
-
107
- </li>
108
-
109
- </ul>
110
- </ul>
111
-
112
-
113
- <ul id="alpha_E" class="alpha">
114
- <li class="letter">E</li>
115
- <ul>
116
-
117
- <li>
118
- <span class='object_link'><a href="Elevage.html" title="Elevage (module)">Elevage</a></span>
119
-
120
- </li>
121
-
122
- <li>
123
- <span class='object_link'><a href="Elevage/Environment.html" title="Elevage::Environment (class)">Environment</a></span>
124
-
125
- <small>(Elevage)</small>
126
-
127
- </li>
128
-
129
- </ul>
130
- </ul>
131
-
132
-
133
- <ul id="alpha_G" class="alpha">
134
- <li class="letter">G</li>
135
- <ul>
136
-
137
- <li>
138
- <span class='object_link'><a href="Elevage/Generate.html" title="Elevage::Generate (class)">Generate</a></span>
139
-
140
- <small>(Elevage)</small>
141
-
142
- </li>
143
-
144
- </ul>
145
- </ul>
146
-
147
-
148
- <ul id="alpha_H" class="alpha">
149
- <li class="letter">H</li>
150
- <ul>
151
-
152
- <li>
153
- <span class='object_link'><a href="Elevage/Health.html" title="Elevage::Health (class)">Health</a></span>
154
-
155
- <small>(Elevage)</small>
156
-
157
- </li>
158
-
159
- </ul>
160
- </ul>
161
-
162
-
163
- <ul id="alpha_N" class="alpha">
164
- <li class="letter">N</li>
165
- <ul>
166
-
167
- <li>
168
- <span class='object_link'><a href="Elevage/New.html" title="Elevage::New (class)">New</a></span>
169
-
170
- <small>(Elevage)</small>
171
-
172
- </li>
173
-
174
- </ul>
175
- </ul>
176
-
177
-
178
- <ul id="alpha_P" class="alpha">
179
- <li class="letter">P</li>
180
- <ul>
181
-
182
- <li>
183
- <span class='object_link'><a href="Elevage/Platform.html" title="Elevage::Platform (class)">Platform</a></span>
184
-
185
- <small>(Elevage)</small>
186
-
187
- </li>
188
-
189
- <li>
190
- <span class='object_link'><a href="Elevage/Provisioner.html" title="Elevage::Provisioner (class)">Provisioner</a></span>
191
-
192
- <small>(Elevage)</small>
193
-
194
- </li>
195
-
196
- <li>
197
- <span class='object_link'><a href="Elevage/ProvisionerRunQueue.html" title="Elevage::ProvisionerRunQueue (class)">ProvisionerRunQueue</a></span>
198
-
199
- <small>(Elevage)</small>
200
-
201
- </li>
202
-
203
- </ul>
204
- </ul>
205
-
206
-
207
- </td><td valign='top' width="33%">
208
-
209
-
210
- <ul id="alpha_R" class="alpha">
211
- <li class="letter">R</li>
212
- <ul>
213
-
214
- <li>
215
- <span class='object_link'><a href="Elevage/Runner.html" title="Elevage::Runner (class)">Runner</a></span>
216
-
217
- <small>(Elevage)</small>
218
-
219
- </li>
220
-
221
- </ul>
222
- </ul>
223
-
224
- </td>
225
- </tr>
226
- </table>
227
-
228
- </div>
229
-
230
- </div>
231
-
232
- <div id="footer">
233
- Generated on Tue Nov 11 17:39:22 2014 by
234
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
- 0.8.7.6 (ruby-2.1.2).
236
- </div>
237
-
238
- </body>
239
- </html>
data/doc/class_list.html DELETED
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <title>Class List</title>
19
- <base id="base_target" target="_parent" />
20
- </head>
21
- <body>
22
- <script type="text/javascript" charset="utf-8">
23
- var hasFrames = false;
24
- try {
25
- hasFrames = window.top.frames.main ? true : false;
26
- } catch (e) { }
27
- if (hasFrames) {
28
- document.getElementById('base_target').target = 'main';
29
- document.body.className = 'frames';
30
- }
31
- </script>
32
- <div id="content">
33
- <h1 id="full_list_header">Class List</h1>
34
- <div id="nav">
35
-
36
- <span><a target="_self" href="class_list.html">
37
- Classes
38
- </a></span>
39
-
40
- <span><a target="_self" href="method_list.html">
41
- Methods
42
- </a></span>
43
-
44
- <span><a target="_self" href="file_list.html">
45
- Files
46
- </a></span>
47
-
48
- </div>
49
- <div id="search">Search: <input type="text" /></div>
50
-
51
- <ul id="full_list" class="class">
52
- <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
53
- <li><a class='toggle'></a> <span class='object_link'><a href="Elevage.html" title="Elevage (module)">Elevage</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Elevage/Build.html" title="Elevage::Build (class)">Build</a></span> &lt; Group<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/CLI.html" title="Elevage::CLI (class)">CLI</a></span> &lt; Thor<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Environment.html" title="Elevage::Environment (class)">Environment</a></span> &lt; Object<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Generate.html" title="Elevage::Generate (class)">Generate</a></span> &lt; Group<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Health.html" title="Elevage::Health (class)">Health</a></span> &lt; Group<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/New.html" title="Elevage::New (class)">New</a></span> &lt; Group<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Platform.html" title="Elevage::Platform (class)">Platform</a></span> &lt; Object<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Provisioner.html" title="Elevage::Provisioner (class)">Provisioner</a></span> &lt; Object<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/ProvisionerRunQueue.html" title="Elevage::ProvisionerRunQueue (class)">ProvisionerRunQueue</a></span> &lt; Object<small class='search_info'>Elevage</small></li><li><span class='object_link'><a href="Elevage/Runner.html" title="Elevage::Runner (class)">Runner</a></span> &lt; Object<small class='search_info'>Elevage</small></li></ul>
54
-
55
- </ul>
56
- </div>
57
- </body>
58
- </html>
data/doc/css/common.css DELETED
@@ -1 +0,0 @@
1
- /* Override this file with custom rules */
@@ -1,57 +0,0 @@
1
- body {
2
- margin: 0;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
- font-size: 13px;
5
- height: 101%;
6
- overflow-x: hidden;
7
- }
8
-
9
- h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
10
- .clear { clear: both; }
11
- #search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
12
- #content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRER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7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
13
- #full_list { padding: 0; list-style: none; margin-left: 0; }
14
- #full_list ul { padding: 0; }
15
- #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
16
- #noresults { padding: 7px 12px; }
17
- #content.insearch #noresults { margin-left: 7px; }
18
- ul.collapsed ul, ul.collapsed li { display: none; }
19
- ul.collapsed.search_uncollapsed { display: block; }
20
- ul.collapsed.search_uncollapsed li { display: list-item; }
21
- li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
22
- li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
23
- li { color: #888; cursor: pointer; }
24
- li.deprecated { text-decoration: line-through; font-style: italic; }
25
- li.r1 { background: #f0f0f0; }
26
- li.r2 { background: #fafafa; }
27
- li:hover { background: #ddd; }
28
- li small:before { content: "("; }
29
- li small:after { content: ")"; }
30
- li small.search_info { display: none; }
31
- a:link, a:visited { text-decoration: none; color: #05a; }
32
- li.clicked { background: #05a; color: #ccc; }
33
- li.clicked a:link, li.clicked a:visited { color: #eee; }
34
- li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
35
- li.collapsed.clicked a.toggle { background-position: top right; }
36
- #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
37
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
38
- #nav a:link, #nav a:visited { color: #358; }
39
- #nav a:hover { background: transparent; color: #5af; }
40
- .frames #nav span:after { content: ' | '; }
41
- .frames #nav span:last-child:after { content: ''; }
42
-
43
- .frames #content h1 { margin-top: 0; }
44
- .frames li { white-space: nowrap; cursor: normal; }
45
- .frames li small { display: block; font-size: 0.8em; }
46
- .frames li small:before { content: ""; }
47
- .frames li small:after { content: ""; }
48
- .frames li small.search_info { display: none; }
49
- .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
50
- .frames #content.insearch #search { background-position: center right; }
51
- .frames #search input { width: 110px; }
52
- .frames #nav { display: block; }
53
-
54
- #full_list.insearch li { display: none; }
55
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
56
- #full_list.insearch li a.toggle { display: none; }
57
- #full_list.insearch li small.search_info { display: block; }