The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

409446.html

saved pastie page - Lawrence Ludwig, 03/06/2009 04:48 pm

Download (14.9 KB)

 
1
<html><head id="head">
2
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
3

    
4
  <title>#409446 - Pastie</title>
5
  <link href="409446_files/display.css" media="screen" rel="stylesheet" type="text/css">
6
        <link href="409446_files/clean.css" media="screen" rel="alternate stylesheet" title="clean" type="text/css">
7
<link href="409446_files/all_hallows_eve.css" media="screen" rel="alternate stylesheet" title="all_hallows_eve" type="text/css">
8
<link href="409446_files/blackboard.css" media="screen" rel="alternate stylesheet" title="blackboard" type="text/css">
9
<link href="409446_files/brilliance_black.css" media="screen" rel="alternate stylesheet" title="brilliance_black" type="text/css">
10
<link href="409446_files/cobalt.css" media="screen" rel="alternate stylesheet" title="cobalt" type="text/css">
11
<link href="409446_files/expreso_libre.css" media="screen" rel="alternate stylesheet" title="expreso_libre" type="text/css">
12
<link href="409446_files/idle.css" media="screen" rel="alternate stylesheet" title="idle" type="text/css">
13
<link href="409446_files/mac_classic.css" media="screen" rel="alternate stylesheet" title="mac_classic" type="text/css">
14
<link href="409446_files/magicwb_amiga.css" media="screen" rel="alternate stylesheet" title="magicwb_amiga" type="text/css">
15
<link href="409446_files/pastels_on_dark.css" media="screen" rel="alternate stylesheet" title="pastels_on_dark" type="text/css">
16
<link href="409446_files/slate.css" media="screen" rel="alternate stylesheet" title="slate" type="text/css">
17
<link href="409446_files/slush_and_poppies.css" media="screen" rel="alternate stylesheet" title="slush_and_poppies" type="text/css">
18
<link href="409446_files/sunburst.css" media="screen" rel="alternate stylesheet" title="sunburst" type="text/css">
19
<link href="409446_files/sunburst_josh.css" media="screen" rel="alternate stylesheet" title="sunburst_josh" type="text/css">
20
<link href="409446_files/twilight.css" media="screen" rel="alternate stylesheet" title="twilight" type="text/css">
21
<link href="409446_files/vibrant_ink.css" media="screen" rel="alternate stylesheet" title="vibrant_ink" type="text/css">
22
        
23
        <script src="409446_files/application.js" type="text/javascript"></script>
24
        <link href="http://pastie.org/pastes.atom" rel="alternate" title="ATOM" type="application/atom+xml">
25
</head><body>
26

    
27
<div id="topnews" style="display: none;">
28
<p>
29
                 Pastie now <a href="http://pastie.caboo.se/8763" class="subtle">auto-senses</a> if line-wrap is a bad or good idea.  <a href="http://beast.caboo.se/forums/4">Feedback?</a>
30
        </p>
31
</div>
32

    
33
<div id="header">
34

    
35
        <ul id="nav">
36
                <li class="hot active"><a href="http://pastie.org/pastes/new">New</a></li>
37
                
38
                <li>
39
                        <a href="http://pastie.org/pastes">All</a>
40
                        </li>
41

    
42
                <li><a href="#" onclick="$('search').show(); $('search_box').focus();">Search</a>
43
                        </li>
44
                <li id="search" style="display: none;">
45
                        <form action="/search/">
46
                                <input style="font-size: 0.85em;" size="15" id="search_box" name="q" value="" type="text">
47
                        </form>
48
                </li>
49
                <li><a href="http://pastie.org/why/">Why</a></li>
50
                <li><a href="http://pastie.org/help/">Help</a></li>
51
                
52
        </ul>
53

    
54
        <h1>
55
          <img alt="Pastie" src="409446_files/pastie.gif">
56
                Pastie
57

    
58
                <span class="sub" style="color: rgb(102, 102, 102);"><a href="http://www.pledgie.com/campaign/show/16">Support Pastie</a> 
59
                        or read my
60
                <a href="http://blog.pastie.org/">Pastie &lt;&lt; self</a>
61
                 blog
62
                </span>
63
<!--
64
                <span class="sub">What'cha want for Christmas?</span>
65
        <span class="count"> pasties and counting</span>        
66
-->
67
        </h1>
68
        
69
        
70
</div>
71

    
72
<!-- <div id="news">
73
<p style="margin-bottom:0;">Now powered by <a href="http://www.sphinxsearch.com/">Sphinx</a>... Search doesn't suck anymore. :-)  Give it a spin.</p> 
74
</div> -->
75

    
76
<div id="container">
77

    
78

    
79
<div id="content">
80
        
81

    
82
        
83

    
84

    
85

    
86

    
87
<!--
88

89
-->
90

    
91
<!--
92
<p class="private psmall" id="private">
93
        <img src="/images/icons/mini/locked.gif" />
94
        This paste is private.
95
</p>
96
-->
97

    
98

    
99

    
100

    
101

    
102

    
103

    
104
<!-- only for someone who's logged in -->
105
<p class="smallutils" id="wrapoptions" style="display: none;">
106

    
107
  <a href="http://pastie.org/409446/wrap">Wrap text</a>
108

    
109
</p>
110

    
111
<script language="javascript">
112
logged_in_setup();
113
if (logged_in_user && logged_in_user=="")
114
        { $('wrapoptions').show(); }        
115
</script>
116

    
117

    
118
<div style="position: absolute; font-size: 0.6em; color: rgb(153, 153, 153); z-index: 100; right: 5px; top: 4px;">
119
<label style="font-size: 1em; color: rgb(170, 170, 170);">Theme:</label>
120
<select onchange="setActiveStyleSheet(this.value);" id="tm_theme_picker">
121
        <option value="clean">Clean (Pastie)</option>
122
<option value="all_hallows_eve">All Hallow's Eve</option>
123
<option value="blackboard">Blackboard</option>
124
<option value="brilliance_black">Brilliance Black</option>
125
<option value="cobalt">Cobalt</option>
126
<option value="expreso_libre">Espresso Libre</option>
127
<option value="idle">IDLE</option>
128
<option value="mac_classic">Mac Classic</option>
129
<option value="magicwb_amiga">MagicWB (Amiga)</option>
130
<option value="pastels_on_dark">Pastels on Dark</option>
131
<option value="slate">Slate</option>
132
<option value="slush_and_poppies">Slush and Poppies</option>
133
<option value="sunburst">Sunburst</option>
134
<option value="sunburst_josh">Sunburst (Josh)</option>
135
<option value="twilight">Twilight</option>
136
<option value="vibrant_ink">Vibrant Ink</option>
137
</select>
138
</div>
139

    
140

    
141

    
142

    
143

    
144
<h2>broken manifest </h2>
145

    
146

    
147

    
148

    
149
        
150
        <div class="allcode">
151
                <table border="0" cellpadding="0" cellspacing="0">
152
                <tbody><tr>
153
                        <td>
154
                                
155
                                <pre class="textmate-source-numbers">1
156
2
157
3
158
4
159
5
160
6
161
7
162
8
163
9
164
</pre>
165
                        </td>
166
                <td>
167
                <pre class="textmate-source"><pre class="sunburst"><span class="meta meta_class meta_class_ruby"><span class="keyword keyword_control keyword_control_class keyword_control_class_ruby">class</span> <span class="entity entity_name entity_name_type entity_name_type_class entity_name_type_class_ruby">xen</span></span> {<span class="meta meta_syntax meta_syntax_ruby meta_syntax_ruby_start-block"></span>
168
        notify{<span class="string string_quoted string_quoted_double string_quoted_double_ruby">"foo"</span>: }
169
}
170

    
171
<span class="meta meta_class meta_class_ruby"><span class="keyword keyword_control keyword_control_class keyword_control_class_ruby">class</span> <span class="entity entity_name entity_name_type entity_name_type_class entity_name_type_class_ruby">foo::xen</span></span> {<span class="meta meta_syntax meta_syntax_ruby meta_syntax_ruby_start-block"></span>
172
        <span class="keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby">include</span> xen
173
}
174

    
175
<span class="keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby">include</span> foo::xen
176
</pre></pre>
177
                </td>
178
                </tr>
179
                </tbody></table>
180
        
181
        </div>
182

    
183

    
184
<hr>
185
<h2>output </h2>
186

    
187

    
188

    
189

    
190
        
191
        <div class="allcode">
192
                <table border="0" cellpadding="0" cellspacing="0">
193
                <tbody><tr>
194
                        <td>
195
                                
196
                                <pre class="textmate-source-numbers">1
197
2
198
3
199
4
200
5
201
</pre>
202
                        </td>
203
                <td>
204
                <pre class="textmate-source"><pre class="sunburst"><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">%</span> puppet <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span>debug foo<span class="meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby">.<span class="entity entity_name entity_name_function entity_name_function_ruby">pp</span></span>
205
debug: importing <span class="string string_quoted string_quoted_single string_quoted_single_ruby">'/home/rip/foo.pp'</span>
206
info: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Autoloaded</span> <span class="keyword keyword_control keyword_control_ruby">module</span> foo
207
debug: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Creating</span> default schedules
208
debug: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Finishing</span> transaction <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="constant constant_numeric constant_numeric_ruby">605981308</span> with <span class="constant constant_numeric constant_numeric_ruby">0</span> changes
209
</pre></pre>
210
                </td>
211
                </tr>
212
                </tbody></table>
213
        
214
        </div>
215

    
216

    
217
<hr>
218
<h2>working manifest </h2>
219

    
220

    
221

    
222

    
223
        
224
        <div class="allcode">
225
                <table border="0" cellpadding="0" cellspacing="0">
226
                <tbody><tr>
227
                        <td>
228
                                
229
                                <pre class="textmate-source-numbers">1
230
2
231
3
232
4
233
5
234
6
235
7
236
8
237
9
238
</pre>
239
                        </td>
240
                <td>
241
                <pre class="textmate-source"><pre class="sunburst"><span class="meta meta_class meta_class_ruby"><span class="keyword keyword_control keyword_control_class keyword_control_class_ruby">class</span> <span class="entity entity_name entity_name_type entity_name_type_class entity_name_type_class_ruby">xen1</span></span> {<span class="meta meta_syntax meta_syntax_ruby meta_syntax_ruby_start-block"></span>
242
        notify{<span class="string string_quoted string_quoted_double string_quoted_double_ruby">"foo"</span>: }
243
}
244

    
245
<span class="meta meta_class meta_class_ruby"><span class="keyword keyword_control keyword_control_class keyword_control_class_ruby">class</span> <span class="entity entity_name entity_name_type entity_name_type_class entity_name_type_class_ruby">foo::xen</span></span> {<span class="meta meta_syntax meta_syntax_ruby meta_syntax_ruby_start-block"></span>
246
        <span class="keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby">include</span> xen1
247
}
248

    
249
<span class="keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby">include</span> foo::xen
250
</pre></pre>
251
                </td>
252
                </tr>
253
                </tbody></table>
254
        
255
        </div>
256

    
257

    
258
<hr>
259
<h2>output debug: importing '/home/rip/foo.pp' </h2>
260

    
261

    
262

    
263

    
264
        
265
        <div class="allcode">
266
                <table border="0" cellpadding="0" cellspacing="0">
267
                <tbody><tr>
268
                        <td>
269
                                
270
                                <pre class="textmate-source-numbers">1
271
2
272
3
273
4
274
5
275
6
276
</pre>
277
                        </td>
278
                <td>
279
                <pre class="textmate-source"><pre class="sunburst">info: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Autoloaded</span> <span class="keyword keyword_control keyword_control_ruby">module</span> foo
280
debug: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Creating</span> default schedules
281
debug: <span class="string string_regexp string_regexp_classic string_regexp_classic_ruby">/</span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby"></span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby">/</span>foo<span class="meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby">::<span class="entity entity_name entity_name_function entity_name_function_ruby">xen</span></span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>xen1<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span><span class="support support_class support_class_ruby">Notify</span>[foo]: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Changing</span> message
282
debug: <span class="string string_regexp string_regexp_classic string_regexp_classic_ruby">/</span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby"></span><span class="string string_regexp string_regexp_classic string_regexp_classic_ruby">/</span>foo<span class="meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby">::<span class="entity entity_name entity_name_function entity_name_function_ruby">xen</span></span><span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span>xen1<span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">/</span><span class="support support_class support_class_ruby">Notify</span>[foo]: <span class="constant constant_numeric constant_numeric_ruby">1</span> <span class="meta meta_function-call meta_function-call_ruby"><span class="entity entity_name entity_name_function entity_name_function_ruby">change</span></span>(s)
283
notice: foo
284
debug: <span class="variable variable_other variable_other_constant variable_other_constant_ruby">Finishing</span> transaction <span class="keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby">-</span><span class="constant constant_numeric constant_numeric_ruby">605577678</span> with <span class="constant constant_numeric constant_numeric_ruby">1</span> changes
285
</pre></pre>
286
                </td>
287
                </tr>
288
                </tbody></table>
289
        
290
        </div>
291

    
292

    
293

    
294

    
295

    
296

    
297
<script src="409446_files/pastie.js"></script>
298
</div>
299

    
300
<div id="right">
301
        
302

    
303

    
304

    
305

    
306
<div style="margin: 0.5em 0pt 0em; font-size: 0.75em;">
307
  <div style="float: left;">
308
<a href="http://pastie.org/409446.txt" class="utility"><img alt="View" src="409446_files/view.png" style="vertical-align: middle;" title="View the raw source of this pastie"></a>
309
  </div>
310
<div style="padding-top: 2px; margin-left: 70px;">
311
<span style="color: rgb(153, 153, 153);">or</span>
312
<a href="http://pastie.org/pastes/409446/download" class="utility or">Download</a>        
313
</div>
314
</div>
315

    
316

    
317

    
318

    
319
  <p style="margin-top: 1.5em;">
320
  <label>Pasted</label><br>
321
  <span class="typo_date" title="Fri, 06 Mar 2009 16:42:45 GMT" id="paste_date">2 minutes ago</span>
322
  <script language="javascript">
323
          e=$('paste_date');
324
          e.innerHTML=get_local_time_for_date(e.title);
325
  </script>
326

    
327
  </p>
328

    
329

    
330
  
331

    
332

    
333

    
334

    
335

    
336

    
337

    
338
<p>
339
<label>Embed</label><br>
340
<input value="&lt;script src='http://pastie.org/409446.js'&gt;&lt;/script&gt;" onclick="this.select();" size="22" type="text">
341
</p>
342

    
343

    
344

    
345
  <p style="margin-top: 1.5em;">
346
        
347
    
348
    <a href="http://pastie.org/pastes/409446/reply">paste again</a>        
349
    
350
  </p>
351

    
352

    
353
<!-- <p style="margin-top:3em; font-size:0.6em;">
354
  
355
</p> -->
356

    
357

    
358
<div class="ads">
359
<label>Advertising</label>
360
<div id="mocra_ad_div"><a href="http://mocra.com/" title="Mocra will Rescue your Rails project"><img id="mocra_ad" src="409446_files/rescue-your-rails-project-146x100.png" title="Mocra will Rescue your Rails project" alt="Mocra will Rescue your Rails project" border="0" width="146" height="100"></a></div>
361

    
362
</div>
363

    
364

    
365

    
366

    
367
</div>
368

    
369
<br style="clear: both;">
370

    
371
</div>
372

    
373
<div id="footer">
374
<p class="legal">
375
<a href="http://pastie.org/legal/" style="color: rgb(51, 102, 153);">Legal</a>
376
</p>
377
<p class="disclaim">
378
<strong>
379
        
380
        With great power comes great responsibility.<br>Pastie wisely.
381
        </strong>
382
</p>
383
<p class="credit">
384
  Created by <a href="http://blog.pastie.org/">Josh Goebel</a>
385
</p>
386
<br style="clear: both;">
387
</div>
388

    
389
<script src="409446_files/prototype.js" type="text/javascript"></script>
390
<script src="409446_files/urchin.js" type="text/javascript">
391
</script>
392
<script type="text/javascript">
393
_uacct = "UA-413537-1";
394
urchinTracker();
395
</script>
396
</body></html>