bunchr 0.1.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.
- data/README.md +323 -0
- data/Rakefile +9 -0
- data/TODO +7 -0
- data/bunchr.gemspec +34 -0
- data/doc/Bunchr/Logger.html +201 -0
- data/doc/Bunchr/Ohai.html +201 -0
- data/doc/Bunchr/Packages.html +1840 -0
- data/doc/Bunchr/Software.html +1727 -0
- data/doc/Bunchr/Utils.html +334 -0
- data/doc/Bunchr.html +124 -0
- data/doc/_index.html +181 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +376 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +376 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +438 -0
- data/doc/top-level-namespace.html +105 -0
- data/example_recipes/autoconf.rake +18 -0
- data/example_recipes/libyaml.rake +18 -0
- data/example_recipes/openssl.rake +54 -0
- data/example_recipes/ruby.rake +38 -0
- data/example_recipes/sensu.rake +18 -0
- data/example_recipes/sensu_bin_stubs.rake +17 -0
- data/example_recipes/sensu_configs.rake +30 -0
- data/example_recipes/sensu_dashboard.rake +17 -0
- data/example_recipes/zlib.rake +32 -0
- data/lib/bunchr/logger.rb +18 -0
- data/lib/bunchr/ohai.rb +18 -0
- data/lib/bunchr/packages.rb +176 -0
- data/lib/bunchr/software.rb +164 -0
- data/lib/bunchr/utils.rb +36 -0
- data/lib/bunchr/version.rb +3 -0
- data/lib/bunchr.rb +42 -0
- metadata +137 -0
@@ -0,0 +1,201 @@
|
|
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
|
+
Class: Bunchr::Ohai
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.5
|
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
|
+
relpath = '..';
|
19
|
+
if (relpath != '') relpath += '/';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
+
|
26
|
+
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
+
</script>
|
32
|
+
|
33
|
+
<div id="header">
|
34
|
+
<div id="menu">
|
35
|
+
|
36
|
+
<a href="../_index.html">Index (O)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../Bunchr.html" title="Bunchr (module)">Bunchr</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">Ohai</span>
|
40
|
+
|
41
|
+
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div id="search">
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<div class="clear"></div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<iframe id="search_frame"></iframe>
|
58
|
+
|
59
|
+
<div id="content"><h1>Class: Bunchr::Ohai
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
<dt class="r1">Inherits:</dt>
|
68
|
+
<dd class="r1">
|
69
|
+
<span class="inheritName">Object</span>
|
70
|
+
|
71
|
+
<ul class="fullTree">
|
72
|
+
<li>Object</li>
|
73
|
+
|
74
|
+
<li class="next">Bunchr::Ohai</li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
<a href="#" class="inheritanceTree">show all</a>
|
78
|
+
|
79
|
+
</dd>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<dt class="r2 last">Defined in:</dt>
|
90
|
+
<dd class="r2 last">lib/bunchr/ohai.rb</dd>
|
91
|
+
|
92
|
+
</dl>
|
93
|
+
<div class="clear"></div>
|
94
|
+
|
95
|
+
|
96
|
+
<h2>Constant Summary</h2>
|
97
|
+
|
98
|
+
<dl class="constants">
|
99
|
+
|
100
|
+
<dt id="ohai-classvariable" class="">@@ohai =
|
101
|
+
|
102
|
+
</dt>
|
103
|
+
<dd><pre class="code"><span class='kw'>nil</span></pre></dd>
|
104
|
+
|
105
|
+
</dl>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
<h2>
|
116
|
+
Class Method Summary
|
117
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
118
|
+
</h2>
|
119
|
+
|
120
|
+
<ul class="summary">
|
121
|
+
|
122
|
+
<li class="public ">
|
123
|
+
<span class="summary_signature">
|
124
|
+
|
125
|
+
<a href="#ohai-class_method" title="ohai (class method)">+ (Object) <strong>ohai</strong> </a>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
</span>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
139
|
+
|
140
|
+
</li>
|
141
|
+
|
142
|
+
|
143
|
+
</ul>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
<div id="class_method_details" class="method_details_list">
|
149
|
+
<h2>Class Method Details</h2>
|
150
|
+
|
151
|
+
|
152
|
+
<div class="method_details first">
|
153
|
+
<p class="signature first" id="ohai-class_method">
|
154
|
+
|
155
|
+
+ (<tt>Object</tt>) <strong>ohai</strong>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
</p><table class="source_code">
|
160
|
+
<tr>
|
161
|
+
<td>
|
162
|
+
<pre class="lines">
|
163
|
+
|
164
|
+
|
165
|
+
8
|
166
|
+
9
|
167
|
+
10
|
168
|
+
11
|
169
|
+
12
|
170
|
+
13
|
171
|
+
14
|
172
|
+
15</pre>
|
173
|
+
</td>
|
174
|
+
<td>
|
175
|
+
<pre class="code"><span class="info file"># File 'lib/bunchr/ohai.rb', line 8</span>
|
176
|
+
|
177
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ohai'>ohai</span>
|
178
|
+
<span class='kw'>if</span> <span class='cvar'>@@ohai</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
179
|
+
<span class='cvar'>@@ohai</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>Ohai</span><span class='op'>::</span><span class='const'>System</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
180
|
+
<span class='cvar'>@@ohai</span><span class='period'>.</span><span class='id identifier rubyid_require_plugin'>require_plugin</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>os</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
181
|
+
<span class='cvar'>@@ohai</span><span class='period'>.</span><span class='id identifier rubyid_require_plugin'>require_plugin</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>platform</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
182
|
+
<span class='kw'>end</span>
|
183
|
+
<span class='cvar'>@@ohai</span>
|
184
|
+
<span class='kw'>end</span></pre>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
</table>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<div id="footer">
|
195
|
+
Generated on Wed Apr 18 17:18:48 2012 by
|
196
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
197
|
+
0.7.5 (ruby-1.9.2).
|
198
|
+
</div>
|
199
|
+
|
200
|
+
</body>
|
201
|
+
</html>
|