chef 0.10.0.rc.1 → 0.10.0.rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/distro/common/html/chef-client.8.html +1 -1
  2. data/distro/common/html/{chef-expander-cluster.8.html → chef-expander.8.html} +11 -11
  3. data/distro/common/html/chef-expanderctl.8.html +1 -1
  4. data/distro/common/html/chef-server-webui.8.html +1 -1
  5. data/distro/common/html/chef-server.8.html +1 -1
  6. data/distro/common/html/chef-solo.8.html +1 -1
  7. data/distro/common/html/chef-solr.8.html +1 -1
  8. data/distro/common/html/knife-bootstrap.1.html +1 -1
  9. data/distro/common/html/knife-client.1.html +1 -1
  10. data/distro/common/html/knife-configure.1.html +1 -1
  11. data/distro/common/html/knife-cookbook-site.1.html +1 -1
  12. data/distro/common/html/knife-cookbook.1.html +1 -1
  13. data/distro/common/html/knife-data-bag.1.html +1 -1
  14. data/distro/common/html/knife-environment.1.html +1 -1
  15. data/distro/common/html/knife-exec.1.html +1 -1
  16. data/distro/common/html/knife-index.1.html +1 -1
  17. data/distro/common/html/knife-node.1.html +1 -1
  18. data/distro/common/html/knife-recipe.1.html +1 -1
  19. data/distro/common/html/knife-role.1.html +1 -1
  20. data/distro/common/html/knife-search.1.html +1 -1
  21. data/distro/common/html/knife-ssh.1.html +1 -1
  22. data/distro/common/html/knife-status.1.html +1 -1
  23. data/distro/common/html/knife-tag.1.html +1 -1
  24. data/distro/common/html/knife.1.html +1 -1
  25. data/distro/common/html/shef.1.html +1 -1
  26. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  27. data/distro/common/man/man1/knife-client.1 +1 -1
  28. data/distro/common/man/man1/knife-configure.1 +1 -1
  29. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  30. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  31. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  32. data/distro/common/man/man1/knife-environment.1 +1 -1
  33. data/distro/common/man/man1/knife-exec.1 +1 -1
  34. data/distro/common/man/man1/knife-index.1 +1 -1
  35. data/distro/common/man/man1/knife-node.1 +1 -1
  36. data/distro/common/man/man1/knife-role.1 +1 -1
  37. data/distro/common/man/man1/knife-search.1 +1 -1
  38. data/distro/common/man/man1/knife-ssh.1 +1 -1
  39. data/distro/common/man/man1/knife-status.1 +1 -1
  40. data/distro/common/man/man1/knife-tag.1 +1 -1
  41. data/distro/common/man/man1/knife.1 +1 -1
  42. data/distro/common/man/man1/shef.1 +1 -1
  43. data/distro/common/man/man8/chef-client.8 +1 -1
  44. data/distro/common/man/man8/{chef-expander-cluster.8 → chef-expander.8} +5 -5
  45. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  46. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  47. data/distro/common/man/man8/chef-server.8 +1 -1
  48. data/distro/common/man/man8/chef-solo.8 +1 -1
  49. data/distro/common/man/man8/chef-solr.8 +1 -1
  50. data/distro/common/markdown/man8/{chef-expander-cluster.mkd → chef-expander.mkd} +4 -4
  51. data/distro/redhat/etc/init.d/chef-expander +1 -1
  52. data/distro/redhat/etc/init.d/chef-solr +1 -1
  53. data/lib/chef/data_bag_item.rb +3 -3
  54. data/lib/chef/knife/data_bag_create.rb +13 -12
  55. data/lib/chef/knife/data_bag_edit.rb +2 -2
  56. data/lib/chef/knife/data_bag_from_file.rb +2 -2
  57. data/lib/chef/knife/data_bag_show.rb +2 -2
  58. data/lib/chef/mixin/language.rb +1 -0
  59. data/lib/chef/recipe.rb +1 -0
  60. data/lib/chef/version.rb +1 -1
  61. metadata +5 -5
@@ -131,7 +131,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
131
131
 
132
132
 
133
133
  <ol class='man-decor man-foot man foot'>
134
- <li class='tl'>Chef 0.10.0.rc.1</li>
134
+ <li class='tl'>Chef 0.10.0.rc.2</li>
135
135
  <li class='tc'>April 2011</li>
136
136
  <li class='tr'>chef-client(8)</li>
137
137
  </ol>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv='content-type' value='text/html;charset=utf8'>
5
5
  <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
6
- <title>chef-expander-cluster(8) - fetches messages from RabbitMQ, processes, and loads into chef-solr</title>
6
+ <title>chef-expander(8) - fetches messages from RabbitMQ, processes, and loads into chef-solr</title>
7
7
  <style type='text/css' media='all'>
8
8
  /* style: man */
9
9
  body#manpage {margin:0}
@@ -67,19 +67,19 @@
67
67
  </div>
68
68
 
69
69
  <ol class='man-decor man-head man head'>
70
- <li class='tl'>chef-expander-cluster(8)</li>
70
+ <li class='tl'>chef-expander(8)</li>
71
71
  <li class='tc'>Chef Manual</li>
72
- <li class='tr'>chef-expander-cluster(8)</li>
72
+ <li class='tr'>chef-expander(8)</li>
73
73
  </ol>
74
74
 
75
75
  <h2 id="NAME">NAME</h2>
76
76
  <p class="man-name">
77
- <code>chef-expander-cluster</code> - <span class="man-whatis">fetches messages from RabbitMQ, processes, and loads into chef-solr</span>
77
+ <code>chef-expander</code> - <span class="man-whatis">fetches messages from RabbitMQ, processes, and loads into chef-solr</span>
78
78
  </p>
79
79
 
80
80
  <h2 id="SYNOPSIS">SYNOPSIS</h2>
81
81
 
82
- <p><strong>chef-expander-cluster</strong> <em>(options)</em></p>
82
+ <p><strong>chef-expander</strong> <em>(options)</em></p>
83
83
 
84
84
  <dl>
85
85
  <dt><code>-c</code>, <code>--config CONFIG_FILE</code></dt><dd>a configuration file to use</dd>
@@ -103,13 +103,13 @@ correct format to be loaded into Solr and loads them into Solr.</p>
103
103
 
104
104
  <p>Chef Expander is designed for clustered operation, though small
105
105
  installations will only need one worker process. To run Chef
106
- Expander with one worker process, run chef-expander-cluster -n 1.
106
+ Expander with one worker process, run chef-expander -n 1.
107
107
  You will then have a master and worker process, which looks like
108
108
  this in ps:</p>
109
109
 
110
110
  <pre><code>your-shell&gt; ps aux|grep expander
111
111
  you 52110 0.1 0.7 2515476 62748 s003 S+ 3:49PM 0:00.80 chef-expander worker #1 (vnodes 0-1023)
112
- you 52108 0.1 0.5 2492880 41696 s003 S+ 3:49PM 0:00.91 ruby bin/chef-expander-cluster -n 1
112
+ you 52108 0.1 0.5 2492880 41696 s003 S+ 3:49PM 0:00.91 ruby bin/chef-expander -n 1
113
113
  </code></pre>
114
114
 
115
115
  <p>Workers are single threaded and therefore cannot use more than 100%
@@ -143,9 +143,9 @@ wiki, http://wiki.opscode.com/display/chef/Home.</p>
143
143
 
144
144
  <h2 id="AUTHOR">AUTHOR</h2>
145
145
 
146
- <p>Chef was written by Adam Jacob <a href="&#109;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#97;&#x64;&#97;&#109;&#64;&#111;&#x73;&#x70;&#99;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#97;&#x6d;&#x40;&#111;&#115;&#112;&#99;&#111;&#x64;&#x65;&#x2e;&#99;&#x6f;&#x6d;</a> of Opscode
146
+ <p>Chef was written by Adam Jacob <a href="&#109;&#97;&#105;&#x6c;&#116;&#x6f;&#x3a;&#97;&#100;&#97;&#109;&#x40;&#111;&#115;&#112;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#97;&#100;&#97;&#109;&#64;&#111;&#x73;&#112;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#x6f;&#109;</a> of Opscode
147
147
  (http://www.opscode.com), with contributions from the community. This
148
- manual page was created by Nuo Yan <a href="&#x6d;&#97;&#105;&#108;&#116;&#x6f;&#x3a;&#110;&#x75;&#111;&#64;&#x6f;&#x70;&#115;&#x63;&#x6f;&#100;&#x65;&#x2e;&#x63;&#111;&#x6d;" data-bare-link="true">&#110;&#117;&#x6f;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>. Permission is
148
+ manual page was created by Nuo Yan <a href="&#109;&#x61;&#105;&#x6c;&#116;&#111;&#58;&#x6e;&#117;&#x6f;&#x40;&#x6f;&#x70;&#115;&#x63;&#111;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x6e;&#x75;&#111;&#64;&#x6f;&#112;&#x73;&#99;&#111;&#x64;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>. Permission is
149
149
  granted to copy, distribute and / or modify this document under the
150
150
  terms of the Apache 2.0 License.</p>
151
151
 
@@ -154,9 +154,9 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
154
154
 
155
155
 
156
156
  <ol class='man-decor man-foot man foot'>
157
- <li class='tl'>Chef 0.10.0.rc.1</li>
157
+ <li class='tl'>Chef 0.10.0.rc.2</li>
158
158
  <li class='tc'>April 2011</li>
159
- <li class='tr'>chef-expander-cluster(8)</li>
159
+ <li class='tr'>chef-expander(8)</li>
160
160
  </ol>
161
161
 
162
162
  </div>
@@ -136,7 +136,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
136
136
 
137
137
 
138
138
  <ol class='man-decor man-foot man foot'>
139
- <li class='tl'>Chef 0.10.0.rc.1</li>
139
+ <li class='tl'>Chef 0.10.0.rc.2</li>
140
140
  <li class='tc'>April 2011</li>
141
141
  <li class='tr'>chef-expanderctl(8)</li>
142
142
  </ol>
@@ -175,7 +175,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
175
175
 
176
176
 
177
177
  <ol class='man-decor man-foot man foot'>
178
- <li class='tl'>Chef 0.10.0.rc.1</li>
178
+ <li class='tl'>Chef 0.10.0.rc.2</li>
179
179
  <li class='tc'>April 2011</li>
180
180
  <li class='tr'>chef-server-webui(8)</li>
181
181
  </ol>
@@ -172,7 +172,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
172
172
 
173
173
 
174
174
  <ol class='man-decor man-foot man foot'>
175
- <li class='tl'>Chef 0.10.0.rc.1</li>
175
+ <li class='tl'>Chef 0.10.0.rc.2</li>
176
176
  <li class='tc'>April 2011</li>
177
177
  <li class='tr'>chef-server(8)</li>
178
178
  </ol>
@@ -181,7 +181,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
181
181
 
182
182
 
183
183
  <ol class='man-decor man-foot man foot'>
184
- <li class='tl'>Chef 0.10.0.rc.1</li>
184
+ <li class='tl'>Chef 0.10.0.rc.2</li>
185
185
  <li class='tc'>April 2011</li>
186
186
  <li class='tr'>chef-solo(8)</li>
187
187
  </ol>
@@ -153,7 +153,7 @@ found in /usr/share/common-licenses/Apache-2.0.</p>
153
153
 
154
154
 
155
155
  <ol class='man-decor man-foot man foot'>
156
- <li class='tl'>Chef 0.10.0.rc.1</li>
156
+ <li class='tl'>Chef 0.10.0.rc.2</li>
157
157
  <li class='tc'>April 2011</li>
158
158
  <li class='tr'>chef-solr(8)</li>
159
159
  </ol>
@@ -231,7 +231,7 @@ to other users via the process list using tools such as <span class="man-ref">ps
231
231
 
232
232
 
233
233
  <ol class='man-decor man-foot man foot'>
234
- <li class='tl'>Chef 0.10.0.rc.1</li>
234
+ <li class='tl'>Chef 0.10.0.rc.2</li>
235
235
  <li class='tc'>April 2011</li>
236
236
  <li class='tr'>knife-bootrap(1)</li>
237
237
  </ol>
@@ -209,7 +209,7 @@ setting up a host for management with Chef.</p>
209
209
 
210
210
 
211
211
  <ol class='man-decor man-foot man foot'>
212
- <li class='tl'>Chef 0.10.0.rc.1</li>
212
+ <li class='tl'>Chef 0.10.0.rc.2</li>
213
213
  <li class='tc'>April 2011</li>
214
214
  <li class='tr'>knife-client(1)</li>
215
215
  </ol>
@@ -160,7 +160,7 @@ may need to modify that setting after copying to a remote host.</p></li>
160
160
 
161
161
 
162
162
  <ol class='man-decor man-foot man foot'>
163
- <li class='tl'>Chef 0.10.0.rc.1</li>
163
+ <li class='tl'>Chef 0.10.0.rc.2</li>
164
164
  <li class='tc'>April 2011</li>
165
165
  <li class='tr'>knife-configure(1)</li>
166
166
  </ol>
@@ -229,7 +229,7 @@ configuration file.</p>
229
229
 
230
230
 
231
231
  <ol class='man-decor man-foot man foot'>
232
- <li class='tl'>Chef 0.10.0.rc.1</li>
232
+ <li class='tl'>Chef 0.10.0.rc.2</li>
233
233
  <li class='tc'>April 2011</li>
234
234
  <li class='tr'>knife-cookbook-site(1)</li>
235
235
  </ol>
@@ -363,7 +363,7 @@ cookbook.</p>
363
363
 
364
364
 
365
365
  <ol class='man-decor man-foot man foot'>
366
- <li class='tl'>Chef 0.10.0.rc.1</li>
366
+ <li class='tl'>Chef 0.10.0.rc.2</li>
367
367
  <li class='tc'>April 2011</li>
368
368
  <li class='tr'>knife-cookbook(1)</li>
369
369
  </ol>
@@ -224,7 +224,7 @@ encryption keys.</p>
224
224
 
225
225
 
226
226
  <ol class='man-decor man-foot man foot'>
227
- <li class='tl'>Chef 0.10.0.rc.1</li>
227
+ <li class='tl'>Chef 0.10.0.rc.2</li>
228
228
  <li class='tc'>April 2011</li>
229
229
  <li class='tr'>knife-data-bag(1)</li>
230
230
  </ol>
@@ -257,7 +257,7 @@ override_attributes "aws_s3_bucket" =&gt; "production"
257
257
 
258
258
 
259
259
  <ol class='man-decor man-foot man foot'>
260
- <li class='tl'>Chef 0.10.0.rc.1</li>
260
+ <li class='tl'>Chef 0.10.0.rc.2</li>
261
261
  <li class='tc'>April 2011</li>
262
262
  <li class='tr'>knife-environment(1)</li>
263
263
  </ol>
@@ -124,7 +124,7 @@ commands available.</p>
124
124
 
125
125
 
126
126
  <ol class='man-decor man-foot man foot'>
127
- <li class='tl'>Chef 0.10.0.rc.1</li>
127
+ <li class='tl'>Chef 0.10.0.rc.2</li>
128
128
  <li class='tc'>April 2011</li>
129
129
  <li class='tr'>knife-exec(1)</li>
130
130
  </ol>
@@ -115,7 +115,7 @@ time for all objects to be indexed and available for search.</p>
115
115
 
116
116
 
117
117
  <ol class='man-decor man-foot man foot'>
118
- <li class='tl'>Chef 0.10.0.rc.1</li>
118
+ <li class='tl'>Chef 0.10.0.rc.2</li>
119
119
  <li class='tc'>April 2011</li>
120
120
  <li class='tr'>knife-index(1)</li>
121
121
  </ol>
@@ -260,7 +260,7 @@ run list, the correct syntax is "role[ROLE_NAME]"</p>
260
260
 
261
261
 
262
262
  <ol class='man-decor man-foot man foot'>
263
- <li class='tl'>Chef 0.10.0.rc.1</li>
263
+ <li class='tl'>Chef 0.10.0.rc.2</li>
264
264
  <li class='tc'>April 2011</li>
265
265
  <li class='tr'>knife-node(1)</li>
266
266
  </ol>
@@ -82,7 +82,7 @@
82
82
 
83
83
 
84
84
  <ol class='man-decor man-foot man foot'>
85
- <li class='tl'>Chef 0.10.0.rc.1</li>
85
+ <li class='tl'>Chef 0.10.0.rc.2</li>
86
86
  <li class='tc'>April 2011</li>
87
87
  <li class='tr'>knife-recipe(1)</li>
88
88
  </ol>
@@ -190,7 +190,7 @@ run_list.</p>
190
190
 
191
191
 
192
192
  <ol class='man-decor man-foot man foot'>
193
- <li class='tl'>Chef 0.10.0.rc.1</li>
193
+ <li class='tl'>Chef 0.10.0.rc.2</li>
194
194
  <li class='tc'>April 2011</li>
195
195
  <li class='tr'>knife-role(1)</li>
196
196
  </ol>
@@ -133,7 +133,7 @@ query syntax. The following data types are indexed for search:
133
133
 
134
134
 
135
135
  <ol class='man-decor man-foot man foot'>
136
- <li class='tl'>Chef 0.10.0.rc.1</li>
136
+ <li class='tl'>Chef 0.10.0.rc.2</li>
137
137
  <li class='tc'>April 2011</li>
138
138
  <li class='tr'>knife-search(1)</li>
139
139
  </ol>
@@ -146,7 +146,7 @@ option.</dd>
146
146
 
147
147
 
148
148
  <ol class='man-decor man-foot man foot'>
149
- <li class='tl'>Chef 0.10.0.rc.1</li>
149
+ <li class='tl'>Chef 0.10.0.rc.2</li>
150
150
  <li class='tc'>April 2011</li>
151
151
  <li class='tr'>knife-ssh(1)</li>
152
152
  </ol>
@@ -118,7 +118,7 @@ may not be publicly reachable.</p>
118
118
 
119
119
 
120
120
  <ol class='man-decor man-foot man foot'>
121
- <li class='tl'>Chef 0.10.0.rc.1</li>
121
+ <li class='tl'>Chef 0.10.0.rc.2</li>
122
122
  <li class='tc'>April 2011</li>
123
123
  <li class='tr'>knife-status(1)</li>
124
124
  </ol>
@@ -127,7 +127,7 @@
127
127
 
128
128
 
129
129
  <ol class='man-decor man-foot man foot'>
130
- <li class='tl'>Chef 0.10.0.rc.1</li>
130
+ <li class='tl'>Chef 0.10.0.rc.2</li>
131
131
  <li class='tc'>April 2011</li>
132
132
  <li class='tr'>knife-tag(1)</li>
133
133
  </ol>
@@ -285,7 +285,7 @@ data editing entirely.</dd>
285
285
 
286
286
 
287
287
  <ol class='man-decor man-foot man foot'>
288
- <li class='tl'>Chef 0.10.0.rc.1</li>
288
+ <li class='tl'>Chef 0.10.0.rc.2</li>
289
289
  <li class='tc'>April 2011</li>
290
290
  <li class='tr'>knife(1)</li>
291
291
  </ol>
@@ -273,7 +273,7 @@ and may become out of sync with the behavior of those libraries.</p>
273
273
 
274
274
 
275
275
  <ol class='man-decor man-foot man foot'>
276
- <li class='tl'>Chef 0.10.0.rc.1</li>
276
+ <li class='tl'>Chef 0.10.0.rc.2</li>
277
277
  <li class='tc'>April 2011</li>
278
278
  <li class='tr'>shef(1)</li>
279
279
  </ol>
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-BOOTRAP" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-BOOTRAP" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-bootrap\fR \- Install Chef Client on a remote host
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-CLIENT" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-client\fR \- Manage Chef API Clients
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-CONFIGURE" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-configure\fR \- Generate configuration files for knife or Chef Client
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK\-SITE" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\-site\fR \- Install and update open source cookbooks
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\fR \- upload and manage chef cookbooks
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-DATA\-BAG" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-data\-bag\fR \- Store arbitrary data on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ENVIRONMENT" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-environment\fR \- Define cookbook policies for the environments in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-EXEC" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-exec\fR \- Run user scripts using the Chef API DSL
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-INDEX" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-index\fR \- Rebuild the search index on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-NODE" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-node\fR \- Manage the hosts in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ROLE" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-role\fR \- Group common configuration settings
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SEARCH" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-search\fR \- Find objects on a Chef Server by query
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SSH" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-ssh\fR \- Run a command or interactive session on multiple remote hosts
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-STATUS" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-status\fR \- Display status information for the nodes in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-TAG" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-tag\fR \- Apply tags to nodes on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "KNIFE" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\fR \- Chef Server API client utility
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "SHEF" "1" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "SHEF" "1" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBshef\fR \- Interactive Chef Console
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-CLIENT" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-client\fR \- Runs a client node connecting to a chef\-server\.
@@ -1,13 +1,13 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-EXPANDER\-CLUSTER" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
- \fBchef\-expander\-cluster\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
7
+ \fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBchef\-expander\-cluster\fR \fI(options)\fR
10
+ \fBchef\-expander\fR \fI(options)\fR
11
11
  .
12
12
  .TP
13
13
  \fB\-c\fR, \fB\-\-config CONFIG_FILE\fR
@@ -52,7 +52,7 @@ Chef Expander fetches messages from RabbitMQ, processes them into the correct fo
52
52
  \fBRunning Chef Expander\fR
53
53
  .
54
54
  .P
55
- Chef Expander is designed for clustered operation, though small installations will only need one worker process\. To run Chef Expander with one worker process, run chef\-expander\-cluster \-n 1\. You will then have a master and worker process, which looks like this in ps:
55
+ Chef Expander is designed for clustered operation, though small installations will only need one worker process\. To run Chef Expander with one worker process, run chef\-expander \-n 1\. You will then have a master and worker process, which looks like this in ps:
56
56
  .
57
57
  .IP "" 4
58
58
  .
@@ -60,7 +60,7 @@ Chef Expander is designed for clustered operation, though small installations wi
60
60
 
61
61
  your\-shell> ps aux|grep expander
62
62
  you 52110 0\.1 0\.7 2515476 62748 s003 S+ 3:49PM 0:00\.80 chef\-expander worker #1 (vnodes 0\-1023)
63
- you 52108 0\.1 0\.5 2492880 41696 s003 S+ 3:49PM 0:00\.91 ruby bin/chef\-expander\-cluster \-n 1
63
+ you 52108 0\.1 0\.5 2492880 41696 s003 S+ 3:49PM 0:00\.91 ruby bin/chef\-expander \-n 1
64
64
  .
65
65
  .fi
66
66
  .
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-EXPANDERCTL" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-expanderctl\fR \- management program for chef\-expander
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SERVER\-WEBUI" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-server\-webui\fR \- Start the Chef Server merb application slice providing Web User Interface (Management Console)\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SERVER" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-server\fR \- Start the Chef Server merb application slice\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SOLO" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solo\fR \- Runs chef in solo mode against a specified cookbook location\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SOLR" "8" "April 2011" "Chef 0.10.0.rc.1" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -1,9 +1,9 @@
1
- chef-expander-cluster(8) -- fetches messages from RabbitMQ, processes, and loads into chef-solr
1
+ chef-expander(8) -- fetches messages from RabbitMQ, processes, and loads into chef-solr
2
2
  ========================================
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- __chef-expander-cluster__ _(options)_
6
+ __chef-expander__ _(options)_
7
7
 
8
8
  * `-c`, `--config CONFIG_FILE`:
9
9
  a configuration file to use
@@ -33,13 +33,13 @@ __Running Chef Expander__
33
33
 
34
34
  Chef Expander is designed for clustered operation, though small
35
35
  installations will only need one worker process. To run Chef
36
- Expander with one worker process, run chef-expander-cluster -n 1.
36
+ Expander with one worker process, run chef-expander -n 1.
37
37
  You will then have a master and worker process, which looks like
38
38
  this in ps:
39
39
 
40
40
  your-shell> ps aux|grep expander
41
41
  you 52110 0.1 0.7 2515476 62748 s003 S+ 3:49PM 0:00.80 chef-expander worker #1 (vnodes 0-1023)
42
- you 52108 0.1 0.5 2492880 41696 s003 S+ 3:49PM 0:00.91 ruby bin/chef-expander-cluster -n 1
42
+ you 52108 0.1 0.5 2492880 41696 s003 S+ 3:49PM 0:00.91 ruby bin/chef-expander -n 1
43
43
 
44
44
  Workers are single threaded and therefore cannot use more than 100%
45
45
  of a single CPU. If you find that your queues are getting backlogged,
@@ -33,7 +33,7 @@ start() {
33
33
  [ -x $exec ] || exit 5
34
34
  [ -f $config ] || exit 6
35
35
  echo -n $"Starting $prog: "
36
- daemon $prog -d -c "$config" -L "$logfile" "$options"
36
+ daemon $prog -d -c "$config" -L "$logfile" -P "$pidfile" "$options"
37
37
  retval=$?
38
38
  echo
39
39
  [ $retval -eq 0 ] && touch $lockfile
@@ -33,7 +33,7 @@ start() {
33
33
  [ -x $exec ] || exit 5
34
34
  [ -f $config ] || exit 6
35
35
  echo -n $"Starting $prog: "
36
- daemon $prog -d -c "$config" -L "$logfile" "$options"
36
+ daemon $prog -d -c "$config" -L "$logfile" -P "$pidfile" "$options"
37
37
  retval=$?
38
38
  echo
39
39
  [ $retval -eq 0 ] && touch $lockfile
@@ -218,17 +218,17 @@ class Chef
218
218
  def save(item_id=@raw_data['id'])
219
219
  r = chef_server_rest
220
220
  begin
221
- r.put_rest("data/#{data_bag}/#{item_id}", @raw_data)
221
+ r.put_rest("data/#{data_bag}/#{item_id}", self)
222
222
  rescue Net::HTTPServerException => e
223
223
  raise e unless e.response.code == "404"
224
- r.post_rest("data/#{data_bag}", @raw_data)
224
+ r.post_rest("data/#{data_bag}", self)
225
225
  end
226
226
  self
227
227
  end
228
228
 
229
229
  # Create this Data Bag Item via RESTful API
230
230
  def create
231
- chef_server_rest.post_rest("data/#{data_bag}", @raw_data)
231
+ chef_server_rest.post_rest("data/#{data_bag}", self)
232
232
  self
233
233
  end
234
234
 
@@ -7,9 +7,9 @@
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
8
8
  # you may not use this file except in compliance with the License.
9
9
  # You may obtain a copy of the License at
10
- #
10
+ #
11
11
  # http://www.apache.org/licenses/LICENSE-2.0
12
- #
12
+ #
13
13
  # Unless required by applicable law or agreed to in writing, software
14
14
  # distributed under the License is distributed on an "AS IS" BASIS,
15
15
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -37,7 +37,7 @@ class Chef
37
37
  :description => "The secret key to use to encrypt data bag item values"
38
38
 
39
39
  option :secret_file,
40
- :long => "--secret_file SECRET_FILE",
40
+ :long => "--secret-file SECRET_FILE",
41
41
  :description => "A file containing the secret key to use to encrypt data bag item values"
42
42
 
43
43
  def read_secret
@@ -50,7 +50,7 @@ class Chef
50
50
 
51
51
  def use_encryption
52
52
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret_file"
53
+ stdout.puts "please specify only one of --secret, --secret-file"
54
54
  exit(1)
55
55
  end
56
56
  config[:secret] || config[:secret_file]
@@ -64,7 +64,7 @@ class Chef
64
64
  stdout.puts("You must specify a data bag name")
65
65
  exit 1
66
66
  end
67
-
67
+
68
68
  # create the data bag
69
69
  begin
70
70
  rest.post_rest("data", { "name" => @data_bag_name })
@@ -73,16 +73,17 @@ class Chef
73
73
  raise unless e.to_s =~ /^409/
74
74
  ui.info("Data bag #{@data_bag_name} already exists")
75
75
  end
76
-
76
+
77
77
  # if an item is specified, create it, as well
78
78
  if @data_bag_item_name
79
79
  create_object({ "id" => @data_bag_item_name }, "data_bag_item[#{@data_bag_item_name}]") do |output|
80
- item = if use_encryption
81
- Chef::EncryptedDataBagItem.encrypt_data_bag_item(output,
82
- read_secret)
83
- else
84
- output
85
- end
80
+ item = Chef::DataBagItem.from_hash(
81
+ if use_encryption
82
+ Chef::EncryptedDataBagItem.encrypt_data_bag_item(output, read_secret)
83
+ else
84
+ output
85
+ end)
86
+ item.data_bag(@data_bag_name)
86
87
  rest.post_rest("data/#{@data_bag_name}", item)
87
88
  end
88
89
  end
@@ -37,7 +37,7 @@ class Chef
37
37
  :description => "The secret key to use to encrypt data bag item values"
38
38
 
39
39
  option :secret_file,
40
- :long => "--secret_file SECRET_FILE",
40
+ :long => "--secret-file SECRET_FILE",
41
41
  :description => "A file containing the secret key to use to encrypt data bag item values"
42
42
 
43
43
  def read_secret
@@ -50,7 +50,7 @@ class Chef
50
50
 
51
51
  def use_encryption
52
52
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret_file"
53
+ stdout.puts "please specify only one of --secret, --secret-file"
54
54
  exit(1)
55
55
  end
56
56
  config[:secret] || config[:secret_file]
@@ -40,7 +40,7 @@ class Chef
40
40
  :description => "The secret key to use to encrypt data bag item values"
41
41
 
42
42
  option :secret_file,
43
- :long => "--secret_file SECRET_FILE",
43
+ :long => "--secret-file SECRET_FILE",
44
44
  :description => "A file containing the secret key to use to encrypt data bag item values"
45
45
 
46
46
  def read_secret
@@ -53,7 +53,7 @@ class Chef
53
53
 
54
54
  def use_encryption
55
55
  if config[:secret] && config[:secret_file]
56
- stdout.puts "please specify only one of --secret, --secret_file"
56
+ stdout.puts "please specify only one of --secret, --secret-file"
57
57
  exit(1)
58
58
  end
59
59
  config[:secret] || config[:secret_file]
@@ -37,7 +37,7 @@ class Chef
37
37
  :description => "The secret key to use to decrypt data bag item values"
38
38
 
39
39
  option :secret_file,
40
- :long => "--secret_file SECRET_FILE",
40
+ :long => "--secret-file SECRET_FILE",
41
41
  :description => "A file containing the secret key to use to decrypt data bag item values"
42
42
 
43
43
  def read_secret
@@ -50,7 +50,7 @@ class Chef
50
50
 
51
51
  def use_encryption
52
52
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret_file"
53
+ stdout.puts "please specify only one of --secret, --secret-file"
54
54
  exit(1)
55
55
  end
56
56
  config[:secret] || config[:secret_file]
@@ -19,6 +19,7 @@
19
19
  require 'chef/search/query'
20
20
  require 'chef/data_bag'
21
21
  require 'chef/data_bag_item'
22
+ require 'chef/encrypted_data_bag_item'
22
23
 
23
24
  class Chef
24
25
  module Mixin
@@ -88,6 +88,7 @@ class Chef
88
88
  def tag(*tags)
89
89
  if tags.length > 0
90
90
  tags.each do |tag|
91
+ tag = tag.to_s
91
92
  run_context.node[:tags] << tag unless run_context.node[:tags].include?(tag)
92
93
  end
93
94
  run_context.node[:tags]
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '0.10.0.rc.1'
20
+ VERSION = '0.10.0.rc.2'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 7
5
- version: 0.10.0.rc.1
5
+ version: 0.10.0.rc.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Adam Jacob
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-27 00:00:00 -07:00
13
+ date: 2011-04-29 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -210,7 +210,7 @@ files:
210
210
  - distro/arch/etc/rc.d/chef-server-webui
211
211
  - distro/arch/etc/rc.d/chef-solr
212
212
  - distro/common/html/chef-client.8.html
213
- - distro/common/html/chef-expander-cluster.8.html
213
+ - distro/common/html/chef-expander.8.html
214
214
  - distro/common/html/chef-expanderctl.8.html
215
215
  - distro/common/html/chef-server-webui.8.html
216
216
  - distro/common/html/chef-server.8.html
@@ -252,7 +252,7 @@ files:
252
252
  - distro/common/man/man1/knife.1
253
253
  - distro/common/man/man1/shef.1
254
254
  - distro/common/man/man8/chef-client.8
255
- - distro/common/man/man8/chef-expander-cluster.8
255
+ - distro/common/man/man8/chef-expander.8
256
256
  - distro/common/man/man8/chef-expanderctl.8
257
257
  - distro/common/man/man8/chef-server-webui.8
258
258
  - distro/common/man/man8/chef-server.8
@@ -276,7 +276,7 @@ files:
276
276
  - distro/common/markdown/man1/knife.mkd
277
277
  - distro/common/markdown/man1/shef.mkd
278
278
  - distro/common/markdown/man8/chef-client.mkd
279
- - distro/common/markdown/man8/chef-expander-cluster.mkd
279
+ - distro/common/markdown/man8/chef-expander.mkd
280
280
  - distro/common/markdown/man8/chef-expanderctl.mkd
281
281
  - distro/common/markdown/man8/chef-server-webui.mkd
282
282
  - distro/common/markdown/man8/chef-server.mkd