boris 1.0.0.beta.1

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.
Files changed (88) hide show
  1. data/LICENSE.md +9 -0
  2. data/README.md +94 -0
  3. data/boris.gemspec +28 -0
  4. data/doc/Array.html +437 -0
  5. data/doc/Boris.html +230 -0
  6. data/doc/Boris/ConnectionAlreadyActive.html +123 -0
  7. data/doc/Boris/ConnectionFailed.html +127 -0
  8. data/doc/Boris/Connector.html +794 -0
  9. data/doc/Boris/InvalidCredentials.html +131 -0
  10. data/doc/Boris/InvalidOption.html +123 -0
  11. data/doc/Boris/InvalidTargetName.html +123 -0
  12. data/doc/Boris/Lumberjack.html +466 -0
  13. data/doc/Boris/MissingCredentials.html +123 -0
  14. data/doc/Boris/NoActiveConnection.html +123 -0
  15. data/doc/Boris/NoProfileDetected.html +123 -0
  16. data/doc/Boris/Options.html +783 -0
  17. data/doc/Boris/Profiles.html +117 -0
  18. data/doc/Boris/Profiles/Linux.html +1151 -0
  19. data/doc/Boris/Profiles/RedHat.html +875 -0
  20. data/doc/Boris/Profiles/Solaris.html +1230 -0
  21. data/doc/Boris/Profiles/Structure.html +2050 -0
  22. data/doc/Boris/Profiles/UNIX.html +893 -0
  23. data/doc/Boris/Profiles/Windows.html +1846 -0
  24. data/doc/Boris/Profiles/Windows/Windows2003.html +304 -0
  25. data/doc/Boris/Profiles/Windows/Windows2008.html +379 -0
  26. data/doc/Boris/Profiles/Windows/Windows2012.html +304 -0
  27. data/doc/Boris/SNMPConnector.html +512 -0
  28. data/doc/Boris/SSHConnector.html +633 -0
  29. data/doc/Boris/Target.html +2002 -0
  30. data/doc/Boris/WMIConnector.html +1134 -0
  31. data/doc/BorisLogger.html +217 -0
  32. data/doc/Hash.html +195 -0
  33. data/doc/String.html +1246 -0
  34. data/doc/_index.html +420 -0
  35. data/doc/class_list.html +53 -0
  36. data/doc/css/common.css +1 -0
  37. data/doc/css/full_list.css +57 -0
  38. data/doc/css/style.css +328 -0
  39. data/doc/file.README.html +183 -0
  40. data/doc/file_list.html +55 -0
  41. data/doc/frames.html +28 -0
  42. data/doc/index.html +183 -0
  43. data/doc/js/app.js +214 -0
  44. data/doc/js/full_list.js +173 -0
  45. data/doc/js/jquery.js +4 -0
  46. data/doc/method_list.html +1468 -0
  47. data/doc/top-level-namespace.html +126 -0
  48. data/lib/boris.rb +30 -0
  49. data/lib/boris/connectors.rb +47 -0
  50. data/lib/boris/connectors/snmp.rb +56 -0
  51. data/lib/boris/connectors/ssh.rb +110 -0
  52. data/lib/boris/connectors/wmi.rb +186 -0
  53. data/lib/boris/errors.rb +17 -0
  54. data/lib/boris/helpers/array.rb +63 -0
  55. data/lib/boris/helpers/constants.rb +20 -0
  56. data/lib/boris/helpers/hash.rb +8 -0
  57. data/lib/boris/helpers/scrubber.rb +51 -0
  58. data/lib/boris/helpers/string.rb +130 -0
  59. data/lib/boris/lumberjack.rb +47 -0
  60. data/lib/boris/options.rb +86 -0
  61. data/lib/boris/profiles/linux/redhat.rb +77 -0
  62. data/lib/boris/profiles/linux_core.rb +216 -0
  63. data/lib/boris/profiles/unix/solaris.rb +307 -0
  64. data/lib/boris/profiles/unix_core.rb +85 -0
  65. data/lib/boris/profiles/windows/windows2003.rb +15 -0
  66. data/lib/boris/profiles/windows/windows2008.rb +23 -0
  67. data/lib/boris/profiles/windows/windows2012.rb +15 -0
  68. data/lib/boris/profiles/windows_core.rb +530 -0
  69. data/lib/boris/structure.rb +167 -0
  70. data/lib/boris/target.rb +340 -0
  71. data/test/connector_tests/test_snmp.rb +35 -0
  72. data/test/connector_tests/test_ssh.rb +51 -0
  73. data/test/connector_tests/test_wmi.rb +129 -0
  74. data/test/helper_tests/test_array.rb +25 -0
  75. data/test/helper_tests/test_hash.rb +10 -0
  76. data/test/helper_tests/test_string.rb +136 -0
  77. data/test/profile_tests/test_core_skeleton +107 -0
  78. data/test/profile_tests/test_linux_core.rb +331 -0
  79. data/test/profile_tests/test_redhat.rb +134 -0
  80. data/test/profile_tests/test_solaris.rb +523 -0
  81. data/test/profile_tests/test_unix_core.rb +117 -0
  82. data/test/profile_tests/test_windows.rb +536 -0
  83. data/test/setup_tests.rb +14 -0
  84. data/test/test_all.rb +8 -0
  85. data/test/test_options.rb +44 -0
  86. data/test/test_structure.rb +136 -0
  87. data/test/test_target.rb +146 -0
  88. metadata +241 -0
@@ -0,0 +1,2050 @@
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: Boris::Profiles::Structure
8
+
9
+ &mdash; Documentation by YARD 0.8.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" 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#!" + escape(window.location.href);
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 (S)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Boris.html" title="Boris (module)">Boris</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Profiles.html" title="Boris::Profiles (module)">Profiles</a></span></span>
36
+ &raquo;
37
+ <span class="title">Structure</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: Boris::Profiles::Structure
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+ <dt class="r1">Includes:</dt>
79
+ <dd class="r1"><span class='object_link'><a href="../Lumberjack.html" title="Boris::Lumberjack (module)">Lumberjack</a></span></dd>
80
+
81
+
82
+
83
+
84
+ <dt class="r2">Included in:</dt>
85
+ <dd class="r2"><span class='object_link'><a href="Linux.html" title="Boris::Profiles::Linux (module)">Linux</a></span>, <span class='object_link'><a href="UNIX.html" title="Boris::Profiles::UNIX (module)">UNIX</a></span>, <span class='object_link'><a href="Windows.html" title="Boris::Profiles::Windows (module)">Windows</a></span></dd>
86
+
87
+
88
+
89
+ <dt class="r1 last">Defined in:</dt>
90
+ <dd class="r1 last">lib/boris/structure.rb<span class="defines">,<br />
91
+ lib/boris/helpers/scrubber.rb</span>
92
+ </dd>
93
+
94
+ </dl>
95
+ <div class="clear"></div>
96
+
97
+
98
+
99
+
100
+
101
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
102
+ <ul class="summary">
103
+
104
+ <li class="public ">
105
+ <span class="summary_signature">
106
+
107
+ <a href="#file_systems-instance_method" title="#file_systems (instance method)">- (Object) <strong>file_systems</strong> </a>
108
+
109
+
110
+
111
+ </span>
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ <span class="summary_desc"><div class='inline'>
125
+ <p>Returns the value of attribute file_systems.</p>
126
+ </div></span>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="public ">
132
+ <span class="summary_signature">
133
+
134
+ <a href="#hardware-instance_method" title="#hardware (instance method)">- (Object) <strong>hardware</strong> </a>
135
+
136
+
137
+
138
+ </span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ <span class="summary_desc"><div class='inline'>
152
+ <p>Returns the value of attribute hardware.</p>
153
+ </div></span>
154
+
155
+ </li>
156
+
157
+
158
+ <li class="public ">
159
+ <span class="summary_signature">
160
+
161
+ <a href="#hosted_shares-instance_method" title="#hosted_shares (instance method)">- (Object) <strong>hosted_shares</strong> </a>
162
+
163
+
164
+
165
+ </span>
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+ <span class="summary_desc"><div class='inline'>
179
+ <p>Returns the value of attribute hosted_shares.</p>
180
+ </div></span>
181
+
182
+ </li>
183
+
184
+
185
+ <li class="public ">
186
+ <span class="summary_signature">
187
+
188
+ <a href="#installed_applications-instance_method" title="#installed_applications (instance method)">- (Object) <strong>installed_applications</strong> </a>
189
+
190
+
191
+
192
+ </span>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ <span class="summary_desc"><div class='inline'>
206
+ <p>Returns the value of attribute installed_applications.</p>
207
+ </div></span>
208
+
209
+ </li>
210
+
211
+
212
+ <li class="public ">
213
+ <span class="summary_signature">
214
+
215
+ <a href="#installed_patches-instance_method" title="#installed_patches (instance method)">- (Object) <strong>installed_patches</strong> </a>
216
+
217
+
218
+
219
+ </span>
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+ <span class="summary_desc"><div class='inline'>
233
+ <p>Returns the value of attribute installed_patches.</p>
234
+ </div></span>
235
+
236
+ </li>
237
+
238
+
239
+ <li class="public ">
240
+ <span class="summary_signature">
241
+
242
+ <a href="#installed_services-instance_method" title="#installed_services (instance method)">- (Object) <strong>installed_services</strong> </a>
243
+
244
+
245
+
246
+ </span>
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <span class="summary_desc"><div class='inline'>
260
+ <p>Returns the value of attribute installed_services.</p>
261
+ </div></span>
262
+
263
+ </li>
264
+
265
+
266
+ <li class="public ">
267
+ <span class="summary_signature">
268
+
269
+ <a href="#local_user_groups-instance_method" title="#local_user_groups (instance method)">- (Object) <strong>local_user_groups</strong> </a>
270
+
271
+
272
+
273
+ </span>
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <span class="summary_desc"><div class='inline'>
287
+ <p>Returns the value of attribute local_user_groups.</p>
288
+ </div></span>
289
+
290
+ </li>
291
+
292
+
293
+ <li class="public ">
294
+ <span class="summary_signature">
295
+
296
+ <a href="#network_id-instance_method" title="#network_id (instance method)">- (Object) <strong>network_id</strong> </a>
297
+
298
+
299
+
300
+ </span>
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+ <span class="summary_desc"><div class='inline'>
314
+ <p>Returns the value of attribute network_id.</p>
315
+ </div></span>
316
+
317
+ </li>
318
+
319
+
320
+ <li class="public ">
321
+ <span class="summary_signature">
322
+
323
+ <a href="#network_interfaces-instance_method" title="#network_interfaces (instance method)">- (Object) <strong>network_interfaces</strong> </a>
324
+
325
+
326
+
327
+ </span>
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+ <span class="summary_desc"><div class='inline'>
341
+ <p>Returns the value of attribute network_interfaces.</p>
342
+ </div></span>
343
+
344
+ </li>
345
+
346
+
347
+ <li class="public ">
348
+ <span class="summary_signature">
349
+
350
+ <a href="#operating_system-instance_method" title="#operating_system (instance method)">- (Object) <strong>operating_system</strong> </a>
351
+
352
+
353
+
354
+ </span>
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+ <span class="summary_desc"><div class='inline'>
368
+ <p>Returns the value of attribute operating_system.</p>
369
+ </div></span>
370
+
371
+ </li>
372
+
373
+
374
+ </ul>
375
+
376
+
377
+
378
+
379
+
380
+ <h3 class="inherited">Attributes included from <span class='object_link'><a href="../Lumberjack.html" title="Boris::Lumberjack (module)">Lumberjack</a></span></h3>
381
+ <p class="inherited"><span class='object_link'><a href="../Lumberjack.html#logger-instance_method" title="Boris::Lumberjack#logger (method)">#logger</a></span></p>
382
+
383
+
384
+
385
+ <h2>
386
+ Instance Method Summary
387
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
388
+ </h2>
389
+
390
+ <ul class="summary">
391
+
392
+ <li class="public ">
393
+ <span class="summary_signature">
394
+
395
+ <a href="#file_system_template-instance_method" title="#file_system_template (instance method)">- (Object) <strong>file_system_template</strong> </a>
396
+
397
+
398
+
399
+ </span>
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+ <span class="summary_desc"><div class='inline'></div></span>
410
+
411
+ </li>
412
+
413
+
414
+ <li class="public ">
415
+ <span class="summary_signature">
416
+
417
+ <a href="#get_file_systems-instance_method" title="#get_file_systems (instance method)">- (Object) <strong>get_file_systems</strong> </a>
418
+
419
+
420
+
421
+ </span>
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ <span class="summary_desc"><div class='inline'></div></span>
432
+
433
+ </li>
434
+
435
+
436
+ <li class="public ">
437
+ <span class="summary_signature">
438
+
439
+ <a href="#get_hardware-instance_method" title="#get_hardware (instance method)">- (Object) <strong>get_hardware</strong> </a>
440
+
441
+
442
+
443
+ </span>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+ <span class="summary_desc"><div class='inline'></div></span>
454
+
455
+ </li>
456
+
457
+
458
+ <li class="public ">
459
+ <span class="summary_signature">
460
+
461
+ <a href="#get_hosted_shares-instance_method" title="#get_hosted_shares (instance method)">- (Object) <strong>get_hosted_shares</strong> </a>
462
+
463
+
464
+
465
+ </span>
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+ <span class="summary_desc"><div class='inline'></div></span>
476
+
477
+ </li>
478
+
479
+
480
+ <li class="public ">
481
+ <span class="summary_signature">
482
+
483
+ <a href="#get_installed_applications-instance_method" title="#get_installed_applications (instance method)">- (Object) <strong>get_installed_applications</strong> </a>
484
+
485
+
486
+
487
+ </span>
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+ <span class="summary_desc"><div class='inline'></div></span>
498
+
499
+ </li>
500
+
501
+
502
+ <li class="public ">
503
+ <span class="summary_signature">
504
+
505
+ <a href="#get_installed_patches-instance_method" title="#get_installed_patches (instance method)">- (Object) <strong>get_installed_patches</strong> </a>
506
+
507
+
508
+
509
+ </span>
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+
519
+ <span class="summary_desc"><div class='inline'></div></span>
520
+
521
+ </li>
522
+
523
+
524
+ <li class="public ">
525
+ <span class="summary_signature">
526
+
527
+ <a href="#get_installed_services-instance_method" title="#get_installed_services (instance method)">- (Object) <strong>get_installed_services</strong> </a>
528
+
529
+
530
+
531
+ (also: #get_installed_daemons)
532
+
533
+ </span>
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+ <span class="summary_desc"><div class='inline'></div></span>
544
+
545
+ </li>
546
+
547
+
548
+ <li class="public ">
549
+ <span class="summary_signature">
550
+
551
+ <a href="#get_local_user_groups-instance_method" title="#get_local_user_groups (instance method)">- (Object) <strong>get_local_user_groups</strong> </a>
552
+
553
+
554
+
555
+ </span>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+ <span class="summary_desc"><div class='inline'></div></span>
566
+
567
+ </li>
568
+
569
+
570
+ <li class="public ">
571
+ <span class="summary_signature">
572
+
573
+ <a href="#get_network_id-instance_method" title="#get_network_id (instance method)">- (Object) <strong>get_network_id</strong> </a>
574
+
575
+
576
+
577
+ </span>
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+ <span class="summary_desc"><div class='inline'></div></span>
588
+
589
+ </li>
590
+
591
+
592
+ <li class="public ">
593
+ <span class="summary_signature">
594
+
595
+ <a href="#get_network_interfaces-instance_method" title="#get_network_interfaces (instance method)">- (Object) <strong>get_network_interfaces</strong> </a>
596
+
597
+
598
+
599
+ </span>
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+ <span class="summary_desc"><div class='inline'></div></span>
610
+
611
+ </li>
612
+
613
+
614
+ <li class="public ">
615
+ <span class="summary_signature">
616
+
617
+ <a href="#get_operating_system-instance_method" title="#get_operating_system (instance method)">- (Object) <strong>get_operating_system</strong> </a>
618
+
619
+
620
+
621
+ </span>
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+ <span class="summary_desc"><div class='inline'></div></span>
632
+
633
+ </li>
634
+
635
+
636
+ <li class="public ">
637
+ <span class="summary_signature">
638
+
639
+ <a href="#hosted_share_template-instance_method" title="#hosted_share_template (instance method)">- (Object) <strong>hosted_share_template</strong> </a>
640
+
641
+
642
+
643
+ </span>
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+ <span class="summary_desc"><div class='inline'></div></span>
654
+
655
+ </li>
656
+
657
+
658
+ <li class="public ">
659
+ <span class="summary_signature">
660
+
661
+ <a href="#installed_application_template-instance_method" title="#installed_application_template (instance method)">- (Object) <strong>installed_application_template</strong> </a>
662
+
663
+
664
+
665
+ </span>
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+ <span class="summary_desc"><div class='inline'></div></span>
676
+
677
+ </li>
678
+
679
+
680
+ <li class="public ">
681
+ <span class="summary_signature">
682
+
683
+ <a href="#installed_patch_template-instance_method" title="#installed_patch_template (instance method)">- (Object) <strong>installed_patch_template</strong> </a>
684
+
685
+
686
+
687
+ </span>
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+ <span class="summary_desc"><div class='inline'></div></span>
698
+
699
+ </li>
700
+
701
+
702
+ <li class="public ">
703
+ <span class="summary_signature">
704
+
705
+ <a href="#installed_service_template-instance_method" title="#installed_service_template (instance method)">- (Object) <strong>installed_service_template</strong> </a>
706
+
707
+
708
+
709
+ </span>
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+ <span class="summary_desc"><div class='inline'></div></span>
720
+
721
+ </li>
722
+
723
+
724
+ <li class="public ">
725
+ <span class="summary_signature">
726
+
727
+ <a href="#local_user_groups_template-instance_method" title="#local_user_groups_template (instance method)">- (Object) <strong>local_user_groups_template</strong> </a>
728
+
729
+
730
+
731
+ </span>
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+ <span class="summary_desc"><div class='inline'></div></span>
742
+
743
+ </li>
744
+
745
+
746
+ <li class="public ">
747
+ <span class="summary_signature">
748
+
749
+ <a href="#network_interface_template-instance_method" title="#network_interface_template (instance method)">- (Object) <strong>network_interface_template</strong> </a>
750
+
751
+
752
+
753
+ </span>
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+ <span class="summary_desc"><div class='inline'></div></span>
764
+
765
+ </li>
766
+
767
+
768
+ <li class="public ">
769
+ <span class="summary_signature">
770
+
771
+ <a href="#scrub_data%21-instance_method" title="#scrub_data! (instance method)">- (Object) <strong>scrub_data!</strong> </a>
772
+
773
+
774
+
775
+ </span>
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+ <span class="summary_desc"><div class='inline'></div></span>
786
+
787
+ </li>
788
+
789
+
790
+ </ul>
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Lumberjack.html" title="Boris::Lumberjack (module)">Lumberjack</a></span></h3>
803
+ <p class="inherited"><span class='object_link'><a href="../Lumberjack.html#debug-instance_method" title="Boris::Lumberjack#debug (method)">#debug</a></span>, <span class='object_link'><a href="../Lumberjack.html#error-instance_method" title="Boris::Lumberjack#error (method)">#error</a></span>, <span class='object_link'><a href="../Lumberjack.html#fatal-instance_method" title="Boris::Lumberjack#fatal (method)">#fatal</a></span>, <span class='object_link'><a href="../Lumberjack.html#info-instance_method" title="Boris::Lumberjack#info (method)">#info</a></span>, <span class='object_link'><a href="../Lumberjack.html#warn-instance_method" title="Boris::Lumberjack#warn (method)">#warn</a></span></p>
804
+
805
+ <div id="instance_attr_details" class="attr_details">
806
+ <h2>Instance Attribute Details</h2>
807
+
808
+
809
+ <span id="file_systems=-instance_method"></span>
810
+ <div class="method_details first">
811
+ <h3 class="signature first" id="file_systems-instance_method">
812
+
813
+ - (<tt>Object</tt>) <strong>file_systems</strong>
814
+
815
+
816
+
817
+
818
+
819
+ </h3><div class="docstring">
820
+ <div class="discussion">
821
+
822
+ <p>Returns the value of attribute file_systems</p>
823
+
824
+
825
+ </div>
826
+ </div>
827
+ <div class="tags">
828
+
829
+
830
+ </div><table class="source_code">
831
+ <tr>
832
+ <td>
833
+ <pre class="lines">
834
+
835
+
836
+ 5
837
+ 6
838
+ 7</pre>
839
+ </td>
840
+ <td>
841
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 5</span>
842
+
843
+ <span class='kw'>def</span> <span class='id identifier rubyid_file_systems'>file_systems</span>
844
+ <span class='ivar'>@file_systems</span>
845
+ <span class='kw'>end</span></pre>
846
+ </td>
847
+ </tr>
848
+ </table>
849
+ </div>
850
+
851
+
852
+ <span id="hardware=-instance_method"></span>
853
+ <div class="method_details ">
854
+ <h3 class="signature " id="hardware-instance_method">
855
+
856
+ - (<tt>Object</tt>) <strong>hardware</strong>
857
+
858
+
859
+
860
+
861
+
862
+ </h3><div class="docstring">
863
+ <div class="discussion">
864
+
865
+ <p>Returns the value of attribute hardware</p>
866
+
867
+
868
+ </div>
869
+ </div>
870
+ <div class="tags">
871
+
872
+
873
+ </div><table class="source_code">
874
+ <tr>
875
+ <td>
876
+ <pre class="lines">
877
+
878
+
879
+ 6
880
+ 7
881
+ 8</pre>
882
+ </td>
883
+ <td>
884
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 6</span>
885
+
886
+ <span class='kw'>def</span> <span class='id identifier rubyid_hardware'>hardware</span>
887
+ <span class='ivar'>@hardware</span>
888
+ <span class='kw'>end</span></pre>
889
+ </td>
890
+ </tr>
891
+ </table>
892
+ </div>
893
+
894
+
895
+ <span id="hosted_shares=-instance_method"></span>
896
+ <div class="method_details ">
897
+ <h3 class="signature " id="hosted_shares-instance_method">
898
+
899
+ - (<tt>Object</tt>) <strong>hosted_shares</strong>
900
+
901
+
902
+
903
+
904
+
905
+ </h3><div class="docstring">
906
+ <div class="discussion">
907
+
908
+ <p>Returns the value of attribute hosted_shares</p>
909
+
910
+
911
+ </div>
912
+ </div>
913
+ <div class="tags">
914
+
915
+
916
+ </div><table class="source_code">
917
+ <tr>
918
+ <td>
919
+ <pre class="lines">
920
+
921
+
922
+ 7
923
+ 8
924
+ 9</pre>
925
+ </td>
926
+ <td>
927
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 7</span>
928
+
929
+ <span class='kw'>def</span> <span class='id identifier rubyid_hosted_shares'>hosted_shares</span>
930
+ <span class='ivar'>@hosted_shares</span>
931
+ <span class='kw'>end</span></pre>
932
+ </td>
933
+ </tr>
934
+ </table>
935
+ </div>
936
+
937
+
938
+ <span id="installed_applications=-instance_method"></span>
939
+ <div class="method_details ">
940
+ <h3 class="signature " id="installed_applications-instance_method">
941
+
942
+ - (<tt>Object</tt>) <strong>installed_applications</strong>
943
+
944
+
945
+
946
+
947
+
948
+ </h3><div class="docstring">
949
+ <div class="discussion">
950
+
951
+ <p>Returns the value of attribute installed_applications</p>
952
+
953
+
954
+ </div>
955
+ </div>
956
+ <div class="tags">
957
+
958
+
959
+ </div><table class="source_code">
960
+ <tr>
961
+ <td>
962
+ <pre class="lines">
963
+
964
+
965
+ 8
966
+ 9
967
+ 10</pre>
968
+ </td>
969
+ <td>
970
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 8</span>
971
+
972
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_applications'>installed_applications</span>
973
+ <span class='ivar'>@installed_applications</span>
974
+ <span class='kw'>end</span></pre>
975
+ </td>
976
+ </tr>
977
+ </table>
978
+ </div>
979
+
980
+
981
+ <span id="installed_patches=-instance_method"></span>
982
+ <div class="method_details ">
983
+ <h3 class="signature " id="installed_patches-instance_method">
984
+
985
+ - (<tt>Object</tt>) <strong>installed_patches</strong>
986
+
987
+
988
+
989
+
990
+
991
+ </h3><div class="docstring">
992
+ <div class="discussion">
993
+
994
+ <p>Returns the value of attribute installed_patches</p>
995
+
996
+
997
+ </div>
998
+ </div>
999
+ <div class="tags">
1000
+
1001
+
1002
+ </div><table class="source_code">
1003
+ <tr>
1004
+ <td>
1005
+ <pre class="lines">
1006
+
1007
+
1008
+ 9
1009
+ 10
1010
+ 11</pre>
1011
+ </td>
1012
+ <td>
1013
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 9</span>
1014
+
1015
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_patches'>installed_patches</span>
1016
+ <span class='ivar'>@installed_patches</span>
1017
+ <span class='kw'>end</span></pre>
1018
+ </td>
1019
+ </tr>
1020
+ </table>
1021
+ </div>
1022
+
1023
+
1024
+ <span id="installed_services=-instance_method"></span>
1025
+ <div class="method_details ">
1026
+ <h3 class="signature " id="installed_services-instance_method">
1027
+
1028
+ - (<tt>Object</tt>) <strong>installed_services</strong>
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+ </h3><div class="docstring">
1035
+ <div class="discussion">
1036
+
1037
+ <p>Returns the value of attribute installed_services</p>
1038
+
1039
+
1040
+ </div>
1041
+ </div>
1042
+ <div class="tags">
1043
+
1044
+
1045
+ </div><table class="source_code">
1046
+ <tr>
1047
+ <td>
1048
+ <pre class="lines">
1049
+
1050
+
1051
+ 10
1052
+ 11
1053
+ 12</pre>
1054
+ </td>
1055
+ <td>
1056
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 10</span>
1057
+
1058
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_services'>installed_services</span>
1059
+ <span class='ivar'>@installed_services</span>
1060
+ <span class='kw'>end</span></pre>
1061
+ </td>
1062
+ </tr>
1063
+ </table>
1064
+ </div>
1065
+
1066
+
1067
+ <span id="local_user_groups=-instance_method"></span>
1068
+ <div class="method_details ">
1069
+ <h3 class="signature " id="local_user_groups-instance_method">
1070
+
1071
+ - (<tt>Object</tt>) <strong>local_user_groups</strong>
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ </h3><div class="docstring">
1078
+ <div class="discussion">
1079
+
1080
+ <p>Returns the value of attribute local_user_groups</p>
1081
+
1082
+
1083
+ </div>
1084
+ </div>
1085
+ <div class="tags">
1086
+
1087
+
1088
+ </div><table class="source_code">
1089
+ <tr>
1090
+ <td>
1091
+ <pre class="lines">
1092
+
1093
+
1094
+ 11
1095
+ 12
1096
+ 13</pre>
1097
+ </td>
1098
+ <td>
1099
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 11</span>
1100
+
1101
+ <span class='kw'>def</span> <span class='id identifier rubyid_local_user_groups'>local_user_groups</span>
1102
+ <span class='ivar'>@local_user_groups</span>
1103
+ <span class='kw'>end</span></pre>
1104
+ </td>
1105
+ </tr>
1106
+ </table>
1107
+ </div>
1108
+
1109
+
1110
+ <span id="network_id=-instance_method"></span>
1111
+ <div class="method_details ">
1112
+ <h3 class="signature " id="network_id-instance_method">
1113
+
1114
+ - (<tt>Object</tt>) <strong>network_id</strong>
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+ </h3><div class="docstring">
1121
+ <div class="discussion">
1122
+
1123
+ <p>Returns the value of attribute network_id</p>
1124
+
1125
+
1126
+ </div>
1127
+ </div>
1128
+ <div class="tags">
1129
+
1130
+
1131
+ </div><table class="source_code">
1132
+ <tr>
1133
+ <td>
1134
+ <pre class="lines">
1135
+
1136
+
1137
+ 12
1138
+ 13
1139
+ 14</pre>
1140
+ </td>
1141
+ <td>
1142
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 12</span>
1143
+
1144
+ <span class='kw'>def</span> <span class='id identifier rubyid_network_id'>network_id</span>
1145
+ <span class='ivar'>@network_id</span>
1146
+ <span class='kw'>end</span></pre>
1147
+ </td>
1148
+ </tr>
1149
+ </table>
1150
+ </div>
1151
+
1152
+
1153
+ <span id="network_interfaces=-instance_method"></span>
1154
+ <div class="method_details ">
1155
+ <h3 class="signature " id="network_interfaces-instance_method">
1156
+
1157
+ - (<tt>Object</tt>) <strong>network_interfaces</strong>
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+ </h3><div class="docstring">
1164
+ <div class="discussion">
1165
+
1166
+ <p>Returns the value of attribute network_interfaces</p>
1167
+
1168
+
1169
+ </div>
1170
+ </div>
1171
+ <div class="tags">
1172
+
1173
+
1174
+ </div><table class="source_code">
1175
+ <tr>
1176
+ <td>
1177
+ <pre class="lines">
1178
+
1179
+
1180
+ 13
1181
+ 14
1182
+ 15</pre>
1183
+ </td>
1184
+ <td>
1185
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 13</span>
1186
+
1187
+ <span class='kw'>def</span> <span class='id identifier rubyid_network_interfaces'>network_interfaces</span>
1188
+ <span class='ivar'>@network_interfaces</span>
1189
+ <span class='kw'>end</span></pre>
1190
+ </td>
1191
+ </tr>
1192
+ </table>
1193
+ </div>
1194
+
1195
+
1196
+ <span id="operating_system=-instance_method"></span>
1197
+ <div class="method_details ">
1198
+ <h3 class="signature " id="operating_system-instance_method">
1199
+
1200
+ - (<tt>Object</tt>) <strong>operating_system</strong>
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+ </h3><div class="docstring">
1207
+ <div class="discussion">
1208
+
1209
+ <p>Returns the value of attribute operating_system</p>
1210
+
1211
+
1212
+ </div>
1213
+ </div>
1214
+ <div class="tags">
1215
+
1216
+
1217
+ </div><table class="source_code">
1218
+ <tr>
1219
+ <td>
1220
+ <pre class="lines">
1221
+
1222
+
1223
+ 14
1224
+ 15
1225
+ 16</pre>
1226
+ </td>
1227
+ <td>
1228
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 14</span>
1229
+
1230
+ <span class='kw'>def</span> <span class='id identifier rubyid_operating_system'>operating_system</span>
1231
+ <span class='ivar'>@operating_system</span>
1232
+ <span class='kw'>end</span></pre>
1233
+ </td>
1234
+ </tr>
1235
+ </table>
1236
+ </div>
1237
+
1238
+ </div>
1239
+
1240
+
1241
+ <div id="instance_method_details" class="method_details_list">
1242
+ <h2>Instance Method Details</h2>
1243
+
1244
+
1245
+ <div class="method_details first">
1246
+ <h3 class="signature first" id="file_system_template-instance_method">
1247
+
1248
+ - (<tt>Object</tt>) <strong>file_system_template</strong>
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ </h3><table class="source_code">
1255
+ <tr>
1256
+ <td>
1257
+ <pre class="lines">
1258
+
1259
+
1260
+ 16
1261
+ 17
1262
+ 18
1263
+ 19
1264
+ 20
1265
+ 21
1266
+ 22
1267
+ 23
1268
+ 24</pre>
1269
+ </td>
1270
+ <td>
1271
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 16</span>
1272
+
1273
+ <span class='kw'>def</span> <span class='id identifier rubyid_file_system_template'>file_system_template</span>
1274
+ <span class='lbracket'>[</span>
1275
+ <span class='symbol'>:capacity_mb</span><span class='comma'>,</span>
1276
+ <span class='symbol'>:file_system</span><span class='comma'>,</span>
1277
+ <span class='symbol'>:mount_point</span><span class='comma'>,</span>
1278
+ <span class='symbol'>:san_storage</span><span class='comma'>,</span>
1279
+ <span class='symbol'>:used_space_mb</span>
1280
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1281
+ <span class='kw'>end</span></pre>
1282
+ </td>
1283
+ </tr>
1284
+ </table>
1285
+ </div>
1286
+
1287
+ <div class="method_details ">
1288
+ <h3 class="signature " id="get_file_systems-instance_method">
1289
+
1290
+ - (<tt>Object</tt>) <strong>get_file_systems</strong>
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+ </h3><table class="source_code">
1297
+ <tr>
1298
+ <td>
1299
+ <pre class="lines">
1300
+
1301
+
1302
+ 91
1303
+ 92
1304
+ 93
1305
+ 94</pre>
1306
+ </td>
1307
+ <td>
1308
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 91</span>
1309
+
1310
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_file_systems'>get_file_systems</span>
1311
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch file systems</span><span class='tstring_end'>'</span></span>
1312
+ <span class='ivar'>@file_systems</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1313
+ <span class='kw'>end</span></pre>
1314
+ </td>
1315
+ </tr>
1316
+ </table>
1317
+ </div>
1318
+
1319
+ <div class="method_details ">
1320
+ <h3 class="signature " id="get_hardware-instance_method">
1321
+
1322
+ - (<tt>Object</tt>) <strong>get_hardware</strong>
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+ </h3><table class="source_code">
1329
+ <tr>
1330
+ <td>
1331
+ <pre class="lines">
1332
+
1333
+
1334
+ 96
1335
+ 97
1336
+ 98
1337
+ 99
1338
+ 100
1339
+ 101
1340
+ 102
1341
+ 103
1342
+ 104
1343
+ 105
1344
+ 106
1345
+ 107
1346
+ 108
1347
+ 109
1348
+ 110
1349
+ 111</pre>
1350
+ </td>
1351
+ <td>
1352
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 96</span>
1353
+
1354
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_hardware'>get_hardware</span>
1355
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch hardware</span><span class='tstring_end'>'</span></span>
1356
+ <span class='ivar'>@hardware</span> <span class='op'>=</span> <span class='lbracket'>[</span>
1357
+ <span class='symbol'>:cpu_architecture</span><span class='comma'>,</span>
1358
+ <span class='symbol'>:cpu_core_count</span><span class='comma'>,</span>
1359
+ <span class='symbol'>:cpu_model</span><span class='comma'>,</span>
1360
+ <span class='symbol'>:cpu_physical_count</span><span class='comma'>,</span>
1361
+ <span class='symbol'>:cpu_speed_mhz</span><span class='comma'>,</span>
1362
+ <span class='symbol'>:cpu_vendor</span><span class='comma'>,</span>
1363
+ <span class='symbol'>:firmware_version</span><span class='comma'>,</span>
1364
+ <span class='symbol'>:model</span><span class='comma'>,</span>
1365
+ <span class='symbol'>:memory_installed_mb</span><span class='comma'>,</span>
1366
+ <span class='symbol'>:serial</span><span class='comma'>,</span>
1367
+ <span class='symbol'>:vendor</span>
1368
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1369
+ <span class='kw'>end</span></pre>
1370
+ </td>
1371
+ </tr>
1372
+ </table>
1373
+ </div>
1374
+
1375
+ <div class="method_details ">
1376
+ <h3 class="signature " id="get_hosted_shares-instance_method">
1377
+
1378
+ - (<tt>Object</tt>) <strong>get_hosted_shares</strong>
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+ </h3><table class="source_code">
1385
+ <tr>
1386
+ <td>
1387
+ <pre class="lines">
1388
+
1389
+
1390
+ 113
1391
+ 114
1392
+ 115
1393
+ 116</pre>
1394
+ </td>
1395
+ <td>
1396
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 113</span>
1397
+
1398
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_hosted_shares'>get_hosted_shares</span>
1399
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch hosted shares</span><span class='tstring_end'>'</span></span>
1400
+ <span class='ivar'>@hosted_shares</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1401
+ <span class='kw'>end</span></pre>
1402
+ </td>
1403
+ </tr>
1404
+ </table>
1405
+ </div>
1406
+
1407
+ <div class="method_details ">
1408
+ <h3 class="signature " id="get_installed_applications-instance_method">
1409
+
1410
+ - (<tt>Object</tt>) <strong>get_installed_applications</strong>
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+ </h3><table class="source_code">
1417
+ <tr>
1418
+ <td>
1419
+ <pre class="lines">
1420
+
1421
+
1422
+ 118
1423
+ 119
1424
+ 120
1425
+ 121</pre>
1426
+ </td>
1427
+ <td>
1428
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 118</span>
1429
+
1430
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_installed_applications'>get_installed_applications</span>
1431
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch installed applications</span><span class='tstring_end'>'</span></span>
1432
+ <span class='ivar'>@installed_applications</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1433
+ <span class='kw'>end</span></pre>
1434
+ </td>
1435
+ </tr>
1436
+ </table>
1437
+ </div>
1438
+
1439
+ <div class="method_details ">
1440
+ <h3 class="signature " id="get_installed_patches-instance_method">
1441
+
1442
+ - (<tt>Object</tt>) <strong>get_installed_patches</strong>
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+ </h3><table class="source_code">
1449
+ <tr>
1450
+ <td>
1451
+ <pre class="lines">
1452
+
1453
+
1454
+ 123
1455
+ 124
1456
+ 125
1457
+ 126</pre>
1458
+ </td>
1459
+ <td>
1460
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 123</span>
1461
+
1462
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_installed_patches'>get_installed_patches</span>
1463
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch installed patches</span><span class='tstring_end'>'</span></span>
1464
+ <span class='ivar'>@installed_patches</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1465
+ <span class='kw'>end</span></pre>
1466
+ </td>
1467
+ </tr>
1468
+ </table>
1469
+ </div>
1470
+
1471
+ <div class="method_details ">
1472
+ <h3 class="signature " id="get_installed_services-instance_method">
1473
+
1474
+ - (<tt>Object</tt>) <strong>get_installed_services</strong>
1475
+
1476
+
1477
+
1478
+ <span class="aliases">Also known as:
1479
+ <span class="names"><span id='get_installed_daemons-instance_method'>get_installed_daemons</span></span>
1480
+ </span>
1481
+
1482
+
1483
+
1484
+ </h3><table class="source_code">
1485
+ <tr>
1486
+ <td>
1487
+ <pre class="lines">
1488
+
1489
+
1490
+ 128
1491
+ 129
1492
+ 130
1493
+ 131</pre>
1494
+ </td>
1495
+ <td>
1496
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 128</span>
1497
+
1498
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_installed_services'>get_installed_services</span>
1499
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch installed_services</span><span class='tstring_end'>'</span></span>
1500
+ <span class='ivar'>@installed_services</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1501
+ <span class='kw'>end</span></pre>
1502
+ </td>
1503
+ </tr>
1504
+ </table>
1505
+ </div>
1506
+
1507
+ <div class="method_details ">
1508
+ <h3 class="signature " id="get_local_user_groups-instance_method">
1509
+
1510
+ - (<tt>Object</tt>) <strong>get_local_user_groups</strong>
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+ </h3><table class="source_code">
1517
+ <tr>
1518
+ <td>
1519
+ <pre class="lines">
1520
+
1521
+
1522
+ 133
1523
+ 134
1524
+ 135
1525
+ 136</pre>
1526
+ </td>
1527
+ <td>
1528
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 133</span>
1529
+
1530
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_local_user_groups'>get_local_user_groups</span>
1531
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch users and groups</span><span class='tstring_end'>'</span></span>
1532
+ <span class='ivar'>@local_user_groups</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1533
+ <span class='kw'>end</span></pre>
1534
+ </td>
1535
+ </tr>
1536
+ </table>
1537
+ </div>
1538
+
1539
+ <div class="method_details ">
1540
+ <h3 class="signature " id="get_network_id-instance_method">
1541
+
1542
+ - (<tt>Object</tt>) <strong>get_network_id</strong>
1543
+
1544
+
1545
+
1546
+
1547
+
1548
+ </h3><table class="source_code">
1549
+ <tr>
1550
+ <td>
1551
+ <pre class="lines">
1552
+
1553
+
1554
+ 138
1555
+ 139
1556
+ 140
1557
+ 141
1558
+ 142
1559
+ 143
1560
+ 144</pre>
1561
+ </td>
1562
+ <td>
1563
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 138</span>
1564
+
1565
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_network_id'>get_network_id</span>
1566
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch network id</span><span class='tstring_end'>'</span></span>
1567
+ <span class='ivar'>@network_id</span> <span class='op'>=</span> <span class='lbracket'>[</span>
1568
+ <span class='symbol'>:domain</span><span class='comma'>,</span>
1569
+ <span class='symbol'>:hostname</span>
1570
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1571
+ <span class='kw'>end</span></pre>
1572
+ </td>
1573
+ </tr>
1574
+ </table>
1575
+ </div>
1576
+
1577
+ <div class="method_details ">
1578
+ <h3 class="signature " id="get_network_interfaces-instance_method">
1579
+
1580
+ - (<tt>Object</tt>) <strong>get_network_interfaces</strong>
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+ </h3><table class="source_code">
1587
+ <tr>
1588
+ <td>
1589
+ <pre class="lines">
1590
+
1591
+
1592
+ 146
1593
+ 147
1594
+ 148
1595
+ 149</pre>
1596
+ </td>
1597
+ <td>
1598
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 146</span>
1599
+
1600
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_network_interfaces'>get_network_interfaces</span>
1601
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch network_interfaces</span><span class='tstring_end'>'</span></span>
1602
+ <span class='ivar'>@network_interfaces</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1603
+ <span class='kw'>end</span></pre>
1604
+ </td>
1605
+ </tr>
1606
+ </table>
1607
+ </div>
1608
+
1609
+ <div class="method_details ">
1610
+ <h3 class="signature " id="get_operating_system-instance_method">
1611
+
1612
+ - (<tt>Object</tt>) <strong>get_operating_system</strong>
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+ </h3><table class="source_code">
1619
+ <tr>
1620
+ <td>
1621
+ <pre class="lines">
1622
+
1623
+
1624
+ 151
1625
+ 152
1626
+ 153
1627
+ 154
1628
+ 155
1629
+ 156
1630
+ 157
1631
+ 158
1632
+ 159
1633
+ 160
1634
+ 161
1635
+ 162
1636
+ 163</pre>
1637
+ </td>
1638
+ <td>
1639
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 151</span>
1640
+
1641
+ <span class='kw'>def</span> <span class='id identifier rubyid_get_operating_system'>get_operating_system</span>
1642
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>preparing to fetch operating system</span><span class='tstring_end'>'</span></span>
1643
+ <span class='ivar'>@operating_system</span> <span class='op'>=</span> <span class='lbracket'>[</span>
1644
+ <span class='symbol'>:date_installed</span><span class='comma'>,</span>
1645
+ <span class='symbol'>:kernel</span><span class='comma'>,</span>
1646
+ <span class='symbol'>:license_key</span><span class='comma'>,</span>
1647
+ <span class='symbol'>:name</span><span class='comma'>,</span>
1648
+ <span class='symbol'>:service_pack</span><span class='comma'>,</span>
1649
+ <span class='symbol'>:version</span><span class='comma'>,</span>
1650
+ <span class='symbol'>:features</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
1651
+ <span class='symbol'>:roles</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='rbracket'>]</span>
1652
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1653
+ <span class='kw'>end</span></pre>
1654
+ </td>
1655
+ </tr>
1656
+ </table>
1657
+ </div>
1658
+
1659
+ <div class="method_details ">
1660
+ <h3 class="signature " id="hosted_share_template-instance_method">
1661
+
1662
+ - (<tt>Object</tt>) <strong>hosted_share_template</strong>
1663
+
1664
+
1665
+
1666
+
1667
+
1668
+ </h3><table class="source_code">
1669
+ <tr>
1670
+ <td>
1671
+ <pre class="lines">
1672
+
1673
+
1674
+ 26
1675
+ 27
1676
+ 28
1677
+ 29
1678
+ 30
1679
+ 31</pre>
1680
+ </td>
1681
+ <td>
1682
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 26</span>
1683
+
1684
+ <span class='kw'>def</span> <span class='id identifier rubyid_hosted_share_template'>hosted_share_template</span>
1685
+ <span class='lbracket'>[</span>
1686
+ <span class='symbol'>:name</span><span class='comma'>,</span>
1687
+ <span class='symbol'>:path</span>
1688
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1689
+ <span class='kw'>end</span></pre>
1690
+ </td>
1691
+ </tr>
1692
+ </table>
1693
+ </div>
1694
+
1695
+ <div class="method_details ">
1696
+ <h3 class="signature " id="installed_application_template-instance_method">
1697
+
1698
+ - (<tt>Object</tt>) <strong>installed_application_template</strong>
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+ </h3><table class="source_code">
1705
+ <tr>
1706
+ <td>
1707
+ <pre class="lines">
1708
+
1709
+
1710
+ 33
1711
+ 34
1712
+ 35
1713
+ 36
1714
+ 37
1715
+ 38
1716
+ 39
1717
+ 40
1718
+ 41
1719
+ 42</pre>
1720
+ </td>
1721
+ <td>
1722
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 33</span>
1723
+
1724
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_application_template'>installed_application_template</span>
1725
+ <span class='lbracket'>[</span>
1726
+ <span class='symbol'>:date_installed</span><span class='comma'>,</span>
1727
+ <span class='symbol'>:install_location</span><span class='comma'>,</span>
1728
+ <span class='symbol'>:license_key</span><span class='comma'>,</span>
1729
+ <span class='symbol'>:name</span><span class='comma'>,</span>
1730
+ <span class='symbol'>:vendor</span><span class='comma'>,</span>
1731
+ <span class='symbol'>:version</span>
1732
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1733
+ <span class='kw'>end</span></pre>
1734
+ </td>
1735
+ </tr>
1736
+ </table>
1737
+ </div>
1738
+
1739
+ <div class="method_details ">
1740
+ <h3 class="signature " id="installed_patch_template-instance_method">
1741
+
1742
+ - (<tt>Object</tt>) <strong>installed_patch_template</strong>
1743
+
1744
+
1745
+
1746
+
1747
+
1748
+ </h3><table class="source_code">
1749
+ <tr>
1750
+ <td>
1751
+ <pre class="lines">
1752
+
1753
+
1754
+ 44
1755
+ 45
1756
+ 46
1757
+ 47
1758
+ 48
1759
+ 49
1760
+ 50</pre>
1761
+ </td>
1762
+ <td>
1763
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 44</span>
1764
+
1765
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_patch_template'>installed_patch_template</span>
1766
+ <span class='lbracket'>[</span>
1767
+ <span class='symbol'>:date_installed</span><span class='comma'>,</span>
1768
+ <span class='symbol'>:installed_by</span><span class='comma'>,</span>
1769
+ <span class='symbol'>:patch_code</span>
1770
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1771
+ <span class='kw'>end</span></pre>
1772
+ </td>
1773
+ </tr>
1774
+ </table>
1775
+ </div>
1776
+
1777
+ <div class="method_details ">
1778
+ <h3 class="signature " id="installed_service_template-instance_method">
1779
+
1780
+ - (<tt>Object</tt>) <strong>installed_service_template</strong>
1781
+
1782
+
1783
+
1784
+
1785
+
1786
+ </h3><table class="source_code">
1787
+ <tr>
1788
+ <td>
1789
+ <pre class="lines">
1790
+
1791
+
1792
+ 52
1793
+ 53
1794
+ 54
1795
+ 55
1796
+ 56
1797
+ 57
1798
+ 58</pre>
1799
+ </td>
1800
+ <td>
1801
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 52</span>
1802
+
1803
+ <span class='kw'>def</span> <span class='id identifier rubyid_installed_service_template'>installed_service_template</span>
1804
+ <span class='lbracket'>[</span>
1805
+ <span class='symbol'>:name</span><span class='comma'>,</span>
1806
+ <span class='symbol'>:install_location</span><span class='comma'>,</span>
1807
+ <span class='symbol'>:start_mode</span>
1808
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1809
+ <span class='kw'>end</span></pre>
1810
+ </td>
1811
+ </tr>
1812
+ </table>
1813
+ </div>
1814
+
1815
+ <div class="method_details ">
1816
+ <h3 class="signature " id="local_user_groups_template-instance_method">
1817
+
1818
+ - (<tt>Object</tt>) <strong>local_user_groups_template</strong>
1819
+
1820
+
1821
+
1822
+
1823
+
1824
+ </h3><table class="source_code">
1825
+ <tr>
1826
+ <td>
1827
+ <pre class="lines">
1828
+
1829
+
1830
+ 60
1831
+ 61
1832
+ 62
1833
+ 63
1834
+ 64
1835
+ 65</pre>
1836
+ </td>
1837
+ <td>
1838
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 60</span>
1839
+
1840
+ <span class='kw'>def</span> <span class='id identifier rubyid_local_user_groups_template'>local_user_groups_template</span>
1841
+ <span class='lbrace'>{</span>
1842
+ <span class='symbol'>:group</span><span class='op'>=&gt;</span><span class='kw'>nil</span><span class='comma'>,</span>
1843
+ <span class='symbol'>:members</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='rbracket'>]</span>
1844
+ <span class='rbrace'>}</span>
1845
+ <span class='kw'>end</span></pre>
1846
+ </td>
1847
+ </tr>
1848
+ </table>
1849
+ </div>
1850
+
1851
+ <div class="method_details ">
1852
+ <h3 class="signature " id="network_interface_template-instance_method">
1853
+
1854
+ - (<tt>Object</tt>) <strong>network_interface_template</strong>
1855
+
1856
+
1857
+
1858
+
1859
+
1860
+ </h3><table class="source_code">
1861
+ <tr>
1862
+ <td>
1863
+ <pre class="lines">
1864
+
1865
+
1866
+ 67
1867
+ 68
1868
+ 69
1869
+ 70
1870
+ 71
1871
+ 72
1872
+ 73
1873
+ 74
1874
+ 75
1875
+ 76
1876
+ 77
1877
+ 78
1878
+ 79
1879
+ 80
1880
+ 81
1881
+ 82
1882
+ 83
1883
+ 84
1884
+ 85
1885
+ 86
1886
+ 87
1887
+ 88
1888
+ 89</pre>
1889
+ </td>
1890
+ <td>
1891
+ <pre class="code"><span class="info file"># File 'lib/boris/structure.rb', line 67</span>
1892
+
1893
+ <span class='kw'>def</span> <span class='id identifier rubyid_network_interface_template'>network_interface_template</span>
1894
+ <span class='lbracket'>[</span>
1895
+ <span class='symbol'>:auto_negotiate</span><span class='comma'>,</span>
1896
+ <span class='symbol'>:current_speed_mbps</span><span class='comma'>,</span>
1897
+ <span class='symbol'>:duplex</span><span class='comma'>,</span>
1898
+ <span class='symbol'>:fabric_name</span><span class='comma'>,</span>
1899
+ <span class='symbol'>:is_uplink</span><span class='comma'>,</span>
1900
+ <span class='symbol'>:mac_address</span><span class='comma'>,</span>
1901
+ <span class='symbol'>:model</span><span class='comma'>,</span>
1902
+ <span class='symbol'>:model_id</span><span class='comma'>,</span>
1903
+ <span class='symbol'>:mtu</span><span class='comma'>,</span>
1904
+ <span class='symbol'>:name</span><span class='comma'>,</span>
1905
+ <span class='symbol'>:node_wwn</span><span class='comma'>,</span>
1906
+ <span class='symbol'>:port_wwn</span><span class='comma'>,</span>
1907
+ <span class='symbol'>:remote_mac_address</span><span class='comma'>,</span>
1908
+ <span class='symbol'>:status</span><span class='comma'>,</span>
1909
+ <span class='symbol'>:type</span><span class='comma'>,</span>
1910
+ <span class='symbol'>:vendor</span><span class='comma'>,</span>
1911
+ <span class='symbol'>:vendor_id</span><span class='comma'>,</span>
1912
+ <span class='symbol'>:dns_servers</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
1913
+ <span class='symbol'>:ip_addresses</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='rbracket'>]</span>
1914
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_nil_hash'>to_nil_hash</span>
1915
+ <span class='kw'>end</span></pre>
1916
+ </td>
1917
+ </tr>
1918
+ </table>
1919
+ </div>
1920
+
1921
+ <div class="method_details ">
1922
+ <h3 class="signature " id="scrub_data!-instance_method">
1923
+
1924
+ - (<tt>Object</tt>) <strong>scrub_data!</strong>
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+ </h3><table class="source_code">
1931
+ <tr>
1932
+ <td>
1933
+ <pre class="lines">
1934
+
1935
+
1936
+ 3
1937
+ 4
1938
+ 5
1939
+ 6
1940
+ 7
1941
+ 8
1942
+ 9
1943
+ 10
1944
+ 11
1945
+ 12
1946
+ 13
1947
+ 14
1948
+ 15
1949
+ 16
1950
+ 17
1951
+ 18
1952
+ 19
1953
+ 20
1954
+ 21
1955
+ 22
1956
+ 23
1957
+ 24
1958
+ 25
1959
+ 26
1960
+ 27
1961
+ 28
1962
+ 29
1963
+ 30
1964
+ 31
1965
+ 32
1966
+ 33
1967
+ 34
1968
+ 35
1969
+ 36
1970
+ 37
1971
+ 38
1972
+ 39
1973
+ 40
1974
+ 41
1975
+ 42
1976
+ 43
1977
+ 44
1978
+ 45
1979
+ 46
1980
+ 47
1981
+ 48
1982
+ 49</pre>
1983
+ </td>
1984
+ <td>
1985
+ <pre class="code"><span class="info file"># File 'lib/boris/helpers/scrubber.rb', line 3</span>
1986
+
1987
+ <span class='kw'>def</span> <span class='id identifier rubyid_scrub_data!'>scrub_data!</span>
1988
+ <span class='lbracket'>[</span> <span class='ivar'>@file_systems</span><span class='comma'>,</span>
1989
+ <span class='ivar'>@hosted_shares</span><span class='comma'>,</span>
1990
+ <span class='ivar'>@installed_applications</span><span class='comma'>,</span>
1991
+ <span class='ivar'>@installed_patches</span><span class='comma'>,</span>
1992
+ <span class='ivar'>@installed_services</span><span class='comma'>,</span>
1993
+ <span class='ivar'>@local_user_groups</span><span class='comma'>,</span>
1994
+ <span class='ivar'>@network_interfaces</span>
1995
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_arr'>arr</span><span class='op'>|</span> <span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_strip_string_values_in_array'>strip_string_values_in_array</span><span class='rbrace'>}</span>
1996
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>string values from within data arrays cleaned up</span><span class='tstring_end'>'</span></span>
1997
+
1998
+ <span class='lbracket'>[</span><span class='ivar'>@hardware</span><span class='comma'>,</span> <span class='ivar'>@network_id</span><span class='comma'>,</span> <span class='ivar'>@operating_system</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_strip_string_values_in_hash'>strip_string_values_in_hash</span><span class='rbrace'>}</span>
1999
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>string values from within data hashes cleaned up</span><span class='tstring_end'>'</span></span>
2000
+
2001
+ <span class='ivar'>@installed_applications</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_app'>app</span><span class='op'>|</span>
2002
+ <span class='id identifier rubyid_app'>app</span><span class='lbracket'>[</span><span class='symbol'>:license_key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_app'>app</span><span class='lbracket'>[</span><span class='symbol'>:license_key</span><span class='rbracket'>]</span>
2003
+ <span class='id identifier rubyid_app'>app</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_string_clean'>string_clean</span>
2004
+ <span class='id identifier rubyid_app'>app</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_format_vendor'>format_vendor</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_app'>app</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span>
2005
+ <span class='kw'>end</span>
2006
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>installed application data cleaned up</span><span class='tstring_end'>'</span></span>
2007
+
2008
+ <span class='ivar'>@network_id</span><span class='lbracket'>[</span><span class='symbol'>:hostname</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span>
2009
+ <span class='ivar'>@network_id</span><span class='lbracket'>[</span><span class='symbol'>:domain</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_downcase!'>downcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@network_id</span><span class='lbracket'>[</span><span class='symbol'>:domain</span><span class='rbracket'>]</span>
2010
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>network id data cleaned up</span><span class='tstring_end'>'</span></span>
2011
+
2012
+ <span class='ivar'>@network_interfaces</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_interface'>interface</span><span class='op'>|</span>
2013
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:fabric_name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_downcase!'>downcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:fabric_name</span><span class='rbracket'>]</span>
2014
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:mac_address</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:mac_address</span><span class='rbracket'>]</span>
2015
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_format_model'>format_model</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span>
2016
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:node_wwn</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_downcase!'>downcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:node_wwn</span><span class='rbracket'>]</span>
2017
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:port_wwn</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_downcase!'>downcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:port_wwn</span><span class='rbracket'>]</span>
2018
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:remote_mac_address</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:remote_mac_address</span><span class='rbracket'>]</span>
2019
+ <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_format_vendor'>format_vendor</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='id identifier rubyid_interface'>interface</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span>
2020
+ <span class='kw'>end</span>
2021
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>network interface data cleaned up</span><span class='tstring_end'>'</span></span>
2022
+
2023
+ <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:cpu_vendor</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:cpu_vendor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_string_clean'>string_clean</span><span class='period'>.</span><span class='id identifier rubyid_format_vendor'>format_vendor</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:cpu_vendor</span><span class='rbracket'>]</span>
2024
+ <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_format_model'>format_model</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:model</span><span class='rbracket'>]</span>
2025
+ <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:serial</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:serial</span><span class='rbracket'>]</span>
2026
+ <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_string_clean'>string_clean</span><span class='period'>.</span><span class='id identifier rubyid_format_vendor'>format_vendor</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@hardware</span><span class='lbracket'>[</span><span class='symbol'>:vendor</span><span class='rbracket'>]</span>
2027
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>network interface data cleaned up</span><span class='tstring_end'>'</span></span>
2028
+
2029
+ <span class='ivar'>@operating_system</span><span class='lbracket'>[</span><span class='symbol'>:license_key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase!'>upcase!</span> <span class='kw'>unless</span> <span class='op'>!</span><span class='ivar'>@operating_system</span><span class='lbracket'>[</span><span class='symbol'>:license_key</span><span class='rbracket'>]</span>
2030
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>operating system data cleaned up</span><span class='tstring_end'>'</span></span>
2031
+
2032
+ <span class='id identifier rubyid_debug'>debug</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>data scrubbing complete</span><span class='tstring_end'>'</span></span>
2033
+ <span class='kw'>end</span></pre>
2034
+ </td>
2035
+ </tr>
2036
+ </table>
2037
+ </div>
2038
+
2039
+ </div>
2040
+
2041
+ </div>
2042
+
2043
+ <div id="footer">
2044
+ Generated on Sun Feb 3 16:32:41 2013 by
2045
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2046
+ 0.8.3 (ruby-1.9.3).
2047
+ </div>
2048
+
2049
+ </body>
2050
+ </html>