elevage 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +21 -0
  4. data/.rubocop.yml +8 -0
  5. data/.ruby-version +1 -0
  6. data/.simplecov +8 -0
  7. data/.travis.yml +3 -0
  8. data/.yardoc/checksums +12 -0
  9. data/.yardoc/object_types +0 -0
  10. data/.yardoc/objects/root.dat +0 -0
  11. data/.yardoc/proxy_types +0 -0
  12. data/Gemfile +4 -0
  13. data/Guardfile +10 -0
  14. data/LICENSE.txt +203 -0
  15. data/README.md +112 -0
  16. data/Rakefile +20 -0
  17. data/bin/elevage +4 -0
  18. data/coverage/.resultset.json.lock +0 -0
  19. data/doc/Elevage/Build.html +435 -0
  20. data/doc/Elevage/CLI.html +282 -0
  21. data/doc/Elevage/Environment.html +950 -0
  22. data/doc/Elevage/Generate.html +346 -0
  23. data/doc/Elevage/Health.html +359 -0
  24. data/doc/Elevage/New.html +411 -0
  25. data/doc/Elevage/Platform.html +1119 -0
  26. data/doc/Elevage/Provisioner.html +804 -0
  27. data/doc/Elevage/ProvisionerRunQueue.html +765 -0
  28. data/doc/Elevage/Runner.html +319 -0
  29. data/doc/Elevage.html +501 -0
  30. data/doc/_index.html +239 -0
  31. data/doc/class_list.html +58 -0
  32. data/doc/css/common.css +1 -0
  33. data/doc/css/full_list.css +57 -0
  34. data/doc/css/style.css +339 -0
  35. data/doc/file.README.html +187 -0
  36. data/doc/file_list.html +60 -0
  37. data/doc/frames.html +26 -0
  38. data/doc/index.html +187 -0
  39. data/doc/js/app.js +219 -0
  40. data/doc/js/full_list.js +181 -0
  41. data/doc/js/jquery.js +4 -0
  42. data/doc/method_list.html +369 -0
  43. data/doc/top-level-namespace.html +112 -0
  44. data/elevage.gemspec +39 -0
  45. data/features/archive +314 -0
  46. data/features/build.feature +237 -0
  47. data/features/elevage.feature +24 -0
  48. data/features/generate.feature +235 -0
  49. data/features/health_env_failure.feature +292 -0
  50. data/features/health_failure.feature +291 -0
  51. data/features/health_success.feature +279 -0
  52. data/features/list.feature +315 -0
  53. data/features/new.feature +68 -0
  54. data/features/step_definitions/elevage_steps.rb +27 -0
  55. data/features/support/env.rb +9 -0
  56. data/lib/elevage/build.rb +109 -0
  57. data/lib/elevage/constants.rb +113 -0
  58. data/lib/elevage/environment.rb +223 -0
  59. data/lib/elevage/generate.rb +48 -0
  60. data/lib/elevage/health.rb +27 -0
  61. data/lib/elevage/new.rb +30 -0
  62. data/lib/elevage/platform.rb +105 -0
  63. data/lib/elevage/provisioner.rb +169 -0
  64. data/lib/elevage/provisionerrunqueue.rb +114 -0
  65. data/lib/elevage/runner.rb +39 -0
  66. data/lib/elevage/templates/compute.yml.tt +18 -0
  67. data/lib/elevage/templates/environment.yml.tt +20 -0
  68. data/lib/elevage/templates/network.yml.tt +16 -0
  69. data/lib/elevage/templates/platform.yml.tt +110 -0
  70. data/lib/elevage/templates/vcenter.yml.tt +77 -0
  71. data/lib/elevage/version.rb +4 -0
  72. data/lib/elevage.rb +45 -0
  73. data/spec/spec_helper.rb +4 -0
  74. metadata +357 -0
data/doc/Elevage.html ADDED
@@ -0,0 +1,501 @@
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
+ Module: Elevage
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!Elevage.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (E)</a> &raquo;
35
+
36
+
37
+ <span class="title">Elevage</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: Elevage
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/elevage.rb<span class="defines">,<br />
83
+ lib/elevage/new.rb,<br /> lib/elevage/build.rb,<br /> lib/elevage/runner.rb,<br /> lib/elevage/health.rb,<br /> lib/elevage/version.rb,<br /> lib/elevage/generate.rb,<br /> lib/elevage/platform.rb,<br /> lib/elevage/constants.rb,<br /> lib/elevage/provisioner.rb,<br /> lib/elevage/environment.rb,<br /> lib/elevage/provisionerrunqueue.rb</span>
84
+ </dd>
85
+
86
+ </dl>
87
+ <div class="clear"></div>
88
+
89
+ <h2>Overview</h2><div class="docstring">
90
+ <div class="discussion">
91
+
92
+ <p>rubocop:disable ClassLength</p>
93
+
94
+
95
+ </div>
96
+ </div>
97
+ <div class="tags">
98
+
99
+
100
+ </div><h2>Defined Under Namespace</h2>
101
+ <p class="children">
102
+
103
+
104
+
105
+
106
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Elevage/Build.html" title="Elevage::Build (class)">Build</a></span>, <span class='object_link'><a href="Elevage/CLI.html" title="Elevage::CLI (class)">CLI</a></span>, <span class='object_link'><a href="Elevage/Environment.html" title="Elevage::Environment (class)">Environment</a></span>, <span class='object_link'><a href="Elevage/Generate.html" title="Elevage::Generate (class)">Generate</a></span>, <span class='object_link'><a href="Elevage/Health.html" title="Elevage::Health (class)">Health</a></span>, <span class='object_link'><a href="Elevage/New.html" title="Elevage::New (class)">New</a></span>, <span class='object_link'><a href="Elevage/Platform.html" title="Elevage::Platform (class)">Platform</a></span>, <span class='object_link'><a href="Elevage/Provisioner.html" title="Elevage::Provisioner (class)">Provisioner</a></span>, <span class='object_link'><a href="Elevage/ProvisionerRunQueue.html" title="Elevage::ProvisionerRunQueue (class)">ProvisionerRunQueue</a></span>, <span class='object_link'><a href="Elevage/Runner.html" title="Elevage::Runner (class)">Runner</a></span>
107
+
108
+
109
+ </p>
110
+
111
+ <h2>Constant Summary</h2>
112
+
113
+ <dl class="constants">
114
+
115
+ <dt id="VERSION-constant" class="">VERSION =
116
+
117
+ </dt>
118
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
119
+
120
+ <dt id="DESC_VERSION-constant" class="">DESC_VERSION =
121
+ <div class="docstring">
122
+ <div class="discussion">
123
+
124
+ <p>options description messages DESC_followed by command and the description</p>
125
+
126
+
127
+ </div>
128
+ </div>
129
+ <div class="tags">
130
+
131
+
132
+ </div>
133
+ </dt>
134
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Display installed elevage gem version (Can also use -v)</span><span class='tstring_end'>&#39;</span></span></pre></dd>
135
+
136
+ <dt id="DESC_NEW-constant" class="">DESC_NEW =
137
+
138
+ </dt>
139
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Prepare new platform files and folder structure at current location</span><span class='tstring_end'>&#39;</span></span></pre></dd>
140
+
141
+ <dt id="DESC_LIST-constant" class="">DESC_LIST =
142
+
143
+ </dt>
144
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>List ITEMs from platform desired state yml files</span><span class='tstring_end'>&#39;</span></span></pre></dd>
145
+
146
+ <dt id="DESC_LIST_NODES-constant" class="">DESC_LIST_NODES =
147
+
148
+ </dt>
149
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>used with environment name to list node names and ip addresses</span><span class='tstring_end'>&#39;</span></span></pre></dd>
150
+
151
+ <dt id="DESC_HEALTH-constant" class="">DESC_HEALTH =
152
+
153
+ </dt>
154
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Health check of the Platform desired state yml files</span><span class='tstring_end'>&#39;</span></span></pre></dd>
155
+
156
+ <dt id="DESC_GENERATE-constant" class="">DESC_GENERATE =
157
+
158
+ </dt>
159
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Generate new environment file based on platform template</span><span class='tstring_end'>&#39;</span></span></pre></dd>
160
+
161
+ <dt id="DESC_BUILD-constant" class="">DESC_BUILD =
162
+
163
+ </dt>
164
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Provision vms in an environment definition</span><span class='tstring_end'>&#39;</span></span></pre></dd>
165
+
166
+ <dt id="DESC_BUILD_DRY_RUN-constant" class="">DESC_BUILD_DRY_RUN =
167
+
168
+ </dt>
169
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Do not actually do anything, just display the commands that would be run.</span><span class='tstring_end'>&#39;</span></span></pre></dd>
170
+
171
+ <dt id="DESC_BUILD_ENV-constant" class="">DESC_BUILD_ENV =
172
+
173
+ </dt>
174
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Name of the platform environment to provision</span><span class='tstring_end'>&#39;</span></span></pre></dd>
175
+
176
+ <dt id="DESC_BUILD_USER-constant" class="">DESC_BUILD_USER =
177
+
178
+ </dt>
179
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>User name for vSphere</span><span class='tstring_end'>&#39;</span></span></pre></dd>
180
+
181
+ <dt id="DESC_BUILD_PASSWD-constant" class="">DESC_BUILD_PASSWD =
182
+
183
+ </dt>
184
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Password for vSphere</span><span class='tstring_end'>&#39;</span></span></pre></dd>
185
+
186
+ <dt id="DESC_BUILD_ALL-constant" class="">DESC_BUILD_ALL =
187
+
188
+ </dt>
189
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Build everything for the named environment</span><span class='tstring_end'>&#39;</span></span></pre></dd>
190
+
191
+ <dt id="DESC_BUILD_TIER-constant" class="">DESC_BUILD_TIER =
192
+
193
+ </dt>
194
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Build everything for the specified tier in the named environment</span><span class='tstring_end'>&#39;</span></span></pre></dd>
195
+
196
+ <dt id="DESC_BUILD_COMPONENT-constant" class="">DESC_BUILD_COMPONENT =
197
+
198
+ </dt>
199
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Build all nodes for the specified component</span><span class='tstring_end'>&#39;</span></span></pre></dd>
200
+
201
+ <dt id="DESC_BUILD_NODE-constant" class="">DESC_BUILD_NODE =
202
+
203
+ </dt>
204
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Build the single specified node</span><span class='tstring_end'>&#39;</span></span></pre></dd>
205
+
206
+ <dt id="DESC_BUILD_VSUSER-constant" class="">DESC_BUILD_VSUSER =
207
+
208
+ </dt>
209
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Username for vSphere</span><span class='tstring_end'>&#39;</span></span></pre></dd>
210
+
211
+ <dt id="DESC_BUILD_VSPASS-constant" class="">DESC_BUILD_VSPASS =
212
+
213
+ </dt>
214
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Password for vSphere</span><span class='tstring_end'>&#39;</span></span></pre></dd>
215
+
216
+ <dt id="DESC_BUILD_SSH_USER-constant" class="">DESC_BUILD_SSH_USER =
217
+
218
+ </dt>
219
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Unix username for ssh for chef-client bootstrap (must have sudo NOPASSWD access for root)</span><span class='tstring_end'>&#39;</span></span></pre></dd>
220
+
221
+ <dt id="DESC_BUILD_SSH_KEY-constant" class="">DESC_BUILD_SSH_KEY =
222
+
223
+ </dt>
224
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Path to SSH private key for ssh username for key-based authentication</span><span class='tstring_end'>&#39;</span></span></pre></dd>
225
+
226
+ <dt id="DESC_BUILD_TEMPLATE_FILE-constant" class="">DESC_BUILD_TEMPLATE_FILE =
227
+
228
+ </dt>
229
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>File to be used as the chef-client bootstrap template script</span><span class='tstring_end'>&#39;</span></span></pre></dd>
230
+
231
+ <dt id="DESC_BUILD_BOOTSTRAP_VERSION-constant" class="">DESC_BUILD_BOOTSTRAP_VERSION =
232
+
233
+ </dt>
234
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Version of chef-client to bootstrap on node</span><span class='tstring_end'>&#39;</span></span></pre></dd>
235
+
236
+ <dt id="DESC_BUILD_CONCURRENCY-constant" class="">DESC_BUILD_CONCURRENCY =
237
+
238
+ </dt>
239
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Maximum number of simultaneous provisioning tasks</span><span class='tstring_end'>&#39;</span></span></pre></dd>
240
+
241
+ <dt id="DESC_BUILD_LOGFILES-constant" class="">DESC_BUILD_LOGFILES =
242
+
243
+ </dt>
244
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Path where log files should be written</span><span class='tstring_end'>&#39;</span></span></pre></dd>
245
+
246
+ <dt id="LIST_CMDS-constant" class="">LIST_CMDS =
247
+ <div class="docstring">
248
+ <div class="discussion">
249
+
250
+ <p>available List commands</p>
251
+
252
+
253
+ </div>
254
+ </div>
255
+ <div class="tags">
256
+
257
+
258
+ </div>
259
+ </dt>
260
+ <dd><pre class="code"><span class='qwords_beg'>%w(</span><span class='tstring_content'>environments</span><span class='words_sep'> </span><span class='tstring_content'>tiers</span><span class='words_sep'> </span><span class='tstring_content'>pools</span><span class='words_sep'> </span><span class='tstring_content'>components</span><span class='words_sep'> </span><span class='tstring_content'>network</span><span class='words_sep'> </span><span class='tstring_content'>vcenter</span><span class='words_sep'> </span><span class='tstring_content'>compute</span><span class='words_sep'>)</span></pre></dd>
261
+
262
+ <dt id="TIMEZONE_LIMIT-constant" class="">TIMEZONE_LIMIT =
263
+ <div class="docstring">
264
+ <div class="discussion">
265
+
266
+ <p>Health check range settings</p>
267
+
268
+
269
+ </div>
270
+ </div>
271
+ <div class="tags">
272
+
273
+
274
+ </div>
275
+ </dt>
276
+ <dd><pre class="code"><span class='int'>159</span></pre></dd>
277
+
278
+ <dt id="CPU_LIMIT-constant" class="">CPU_LIMIT =
279
+
280
+ </dt>
281
+ <dd><pre class="code"><span class='int'>16</span></pre></dd>
282
+
283
+ <dt id="RAM_LIMIT-constant" class="">RAM_LIMIT =
284
+
285
+ </dt>
286
+ <dd><pre class="code"><span class='int'>128</span></pre></dd>
287
+
288
+ <dt id="POOL_LIMIT-constant" class="">POOL_LIMIT =
289
+
290
+ </dt>
291
+ <dd><pre class="code"><span class='int'>256</span></pre></dd>
292
+
293
+ <dt id="MSG_HEALTHY-constant" class="">MSG_HEALTHY =
294
+ <div class="docstring">
295
+ <div class="discussion">
296
+
297
+ <p>Health check messages</p>
298
+
299
+
300
+ </div>
301
+ </div>
302
+ <div class="tags">
303
+
304
+
305
+ </div>
306
+ </dt>
307
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>All base platform desired state files created and syntactically correct</span><span class='tstring_end'>&#39;</span></span></pre></dd>
308
+
309
+ <dt id="MSG_ENV_HEALTHY-constant" class="">MSG_ENV_HEALTHY =
310
+
311
+ </dt>
312
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> specific definition yml syntactically correct</span><span class='tstring_end'>&#39;</span></span></pre></dd>
313
+
314
+ <dt id="MSG-constant" class="">MSG =
315
+
316
+ </dt>
317
+ <dd><pre class="code"><span class='lbrace'>{</span>
318
+ <span class='label'>empty_environments:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Empty environment definitions\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
319
+ <span class='label'>empty_tiers:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Empty tier definitions\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
320
+ <span class='label'>empty_nodenameconvention:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Empty nodenameconvention definitions\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
321
+ <span class='label'>pool_count_size:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Must define 1 or more nodes in a pool\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
322
+ <span class='label'>invalid_tiers:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pool contains invalid tier reference\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
323
+ <span class='label'>no_image_ref:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No vm image referenced in pool definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
324
+ <span class='label'>invalid_compute:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pool contains invalid compute reference\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
325
+ <span class='label'>invalid_port:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pool contains invalid port definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
326
+ <span class='label'>invalid_runlist:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No pool runlist definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
327
+ <span class='label'>invalid_componentrole:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pool Componentrole missing #\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
328
+ <span class='label'>invalid_geo:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>no vCenter geo defined\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
329
+ <span class='label'>invalid_timezone:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid vCenter timezone\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
330
+ <span class='label'>invalid_host:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>vCenter host not accessible\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
331
+ <span class='label'>invalid_datacenter:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No datacenter defined for vCenter\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
332
+ <span class='label'>invalid_imagefolder:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No image location defined for vCenter build\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
333
+ <span class='label'>invalid_destfolder:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No destination folder defined for vCenter build\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
334
+ <span class='label'>invalid_appendenv:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Append environment to destination folder must be true or false\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
335
+ <span class='label'>invalid_appenddomain:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>prepend app name to domain must be true or false\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
336
+ <span class='label'>empty_datastores:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No data stores defined for vCenter build\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
337
+ <span class='label'>invalid_domain:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No domain defined for node fqdn\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
338
+ <span class='label'>invalid_ip:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid IP&#39;s defined for DNS lookup\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
339
+ <span class='label'>empty_network:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Empty Network defintions\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
340
+ <span class='label'>invalid_gateway:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid gateway defined in network\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
341
+ <span class='label'>invalid_cpu:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid compute cpu settings\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
342
+ <span class='label'>invalid_ram:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid compute ram settings\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
343
+ <span class='label'>invalid_env_vcenter:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment contains invalid vcenter definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
344
+ <span class='label'>invalid_env_network:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment contains invalid network definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
345
+ <span class='label'>invalid_env_count:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment contains invalid number of nodes in pool\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
346
+ <span class='label'>invalid_env_compute:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid compute definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
347
+ <span class='label'>invalid_env_ip:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid or missing ip address definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
348
+ <span class='label'>invalid_env_tier:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid tier definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
349
+ <span class='label'>invalid_env_image:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid image definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
350
+ <span class='label'>invalid_env_port:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid port definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
351
+ <span class='label'>invalid_env_runlist:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid runlist specification\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
352
+ <span class='label'>invalid_env_componentrole:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment component pool contains invalid componentrole definition\n</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
353
+ <span class='label'>env_component_mismatch:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Environment components do not match platform definition\n</span><span class='tstring_end'>&quot;</span></span>
354
+ <span class='rbrace'>}</span></pre></dd>
355
+
356
+ <dt id="TEMPLATE_PLATFORM-constant" class="">TEMPLATE_PLATFORM =
357
+ <div class="docstring">
358
+ <div class="discussion">
359
+
360
+ <p>Templates</p>
361
+
362
+
363
+ </div>
364
+ </div>
365
+ <div class="tags">
366
+
367
+
368
+ </div>
369
+ </dt>
370
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>templates/platform.yml.tt</span><span class='tstring_end'>&#39;</span></span></pre></dd>
371
+
372
+ <dt id="TEMPLATE_VCENTER-constant" class="">TEMPLATE_VCENTER =
373
+
374
+ </dt>
375
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>templates/vcenter.yml.tt</span><span class='tstring_end'>&#39;</span></span></pre></dd>
376
+
377
+ <dt id="TEMPLATE_NETWORK-constant" class="">TEMPLATE_NETWORK =
378
+
379
+ </dt>
380
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>templates/network.yml.tt</span><span class='tstring_end'>&#39;</span></span></pre></dd>
381
+
382
+ <dt id="TEMPLATE_COMPUTE-constant" class="">TEMPLATE_COMPUTE =
383
+
384
+ </dt>
385
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>templates/compute.yml.tt</span><span class='tstring_end'>&#39;</span></span></pre></dd>
386
+
387
+ <dt id="TEMPLATE_ENV-constant" class="">TEMPLATE_ENV =
388
+
389
+ </dt>
390
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>templates/environment.yml.tt</span><span class='tstring_end'>&#39;</span></span></pre></dd>
391
+
392
+ <dt id="YML_PLATFORM-constant" class="">YML_PLATFORM =
393
+ <div class="docstring">
394
+ <div class="discussion">
395
+
396
+ <p>filename defaults</p>
397
+
398
+
399
+ </div>
400
+ </div>
401
+ <div class="tags">
402
+
403
+
404
+ </div>
405
+ </dt>
406
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>platform.yml</span><span class='tstring_end'>&#39;</span></span></pre></dd>
407
+
408
+ <dt id="YML_VCENTER-constant" class="">YML_VCENTER =
409
+
410
+ </dt>
411
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>infrastructure/vcenter.yml</span><span class='tstring_end'>&#39;</span></span></pre></dd>
412
+
413
+ <dt id="YML_NETWORK-constant" class="">YML_NETWORK =
414
+
415
+ </dt>
416
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>infrastructure/network.yml</span><span class='tstring_end'>&#39;</span></span></pre></dd>
417
+
418
+ <dt id="YML_COMPUTE-constant" class="">YML_COMPUTE =
419
+
420
+ </dt>
421
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>infrastructure/compute.yml</span><span class='tstring_end'>&#39;</span></span></pre></dd>
422
+
423
+ <dt id="ENV_FOLDER-constant" class="">ENV_FOLDER =
424
+
425
+ </dt>
426
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>environments/</span><span class='tstring_end'>&#39;</span></span></pre></dd>
427
+
428
+ <dt id="BUILD_CONCURRENT_DEFAULT-constant" class="">BUILD_CONCURRENT_DEFAULT =
429
+ <div class="docstring">
430
+ <div class="discussion">
431
+
432
+ <p>Build defaults</p>
433
+
434
+
435
+ </div>
436
+ </div>
437
+ <div class="tags">
438
+
439
+
440
+ </div>
441
+ </dt>
442
+ <dd><pre class="code"><span class='int'>4</span></pre></dd>
443
+
444
+ <dt id="BUILD_CHILD_WAIT_TIMEOUT-constant" class="">BUILD_CHILD_WAIT_TIMEOUT =
445
+
446
+ </dt>
447
+ <dd><pre class="code"><span class='float'>0.5</span></pre></dd>
448
+
449
+ <dt id="BUILD_STATUS_INTERVAL-constant" class="">BUILD_STATUS_INTERVAL =
450
+
451
+ </dt>
452
+ <dd><pre class="code"><span class='int'>60</span></pre></dd>
453
+
454
+ <dt id="ERR-constant" class="">ERR =
455
+ <div class="docstring">
456
+ <div class="discussion">
457
+
458
+ <p>error messages</p>
459
+
460
+
461
+ </div>
462
+ </div>
463
+ <div class="tags">
464
+
465
+
466
+ </div>
467
+ </dt>
468
+ <dd><pre class="code"><span class='lbrace'>{</span>
469
+ <span class='label'>platform_exists:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: platform files already exist!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
470
+ <span class='label'>not_list_cmd:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: used an unknown LIST command</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
471
+ <span class='label'>no_platform_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: platform.yml file not found!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
472
+ <span class='label'>no_vcenter_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: infastructure/vcenter.yml file not found!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
473
+ <span class='label'>no_network_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: infastructure/network.yml file not found!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
474
+ <span class='label'>no_compute_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: infastructure/compute.yml file not found!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
475
+ <span class='label'>env_exists:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: environment file already exists!</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
476
+ <span class='label'>env_not_defined:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: environment file not defined in platform</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
477
+ <span class='label'>no_env_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: Environment file in platform.yml not found</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
478
+ <span class='label'>fail_health_check:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>elevage: health check revealed errors</span><span class='tstring_end'>&#39;</span></span>
479
+ <span class='rbrace'>}</span></pre></dd>
480
+
481
+ </dl>
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+ </div>
493
+
494
+ <div id="footer">
495
+ Generated on Tue Nov 11 17:39:23 2014 by
496
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
497
+ 0.8.7.6 (ruby-2.1.2).
498
+ </div>
499
+
500
+ </body>
501
+ </html>