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.
- data/distro/common/html/chef-client.8.html +1 -1
- data/distro/common/html/{chef-expander-cluster.8.html → chef-expander.8.html} +11 -11
- data/distro/common/html/chef-expanderctl.8.html +1 -1
- data/distro/common/html/chef-server-webui.8.html +1 -1
- data/distro/common/html/chef-server.8.html +1 -1
- data/distro/common/html/chef-solo.8.html +1 -1
- data/distro/common/html/chef-solr.8.html +1 -1
- data/distro/common/html/knife-bootstrap.1.html +1 -1
- data/distro/common/html/knife-client.1.html +1 -1
- data/distro/common/html/knife-configure.1.html +1 -1
- data/distro/common/html/knife-cookbook-site.1.html +1 -1
- data/distro/common/html/knife-cookbook.1.html +1 -1
- data/distro/common/html/knife-data-bag.1.html +1 -1
- data/distro/common/html/knife-environment.1.html +1 -1
- data/distro/common/html/knife-exec.1.html +1 -1
- data/distro/common/html/knife-index.1.html +1 -1
- data/distro/common/html/knife-node.1.html +1 -1
- data/distro/common/html/knife-recipe.1.html +1 -1
- data/distro/common/html/knife-role.1.html +1 -1
- data/distro/common/html/knife-search.1.html +1 -1
- data/distro/common/html/knife-ssh.1.html +1 -1
- data/distro/common/html/knife-status.1.html +1 -1
- data/distro/common/html/knife-tag.1.html +1 -1
- data/distro/common/html/knife.1.html +1 -1
- data/distro/common/html/shef.1.html +1 -1
- data/distro/common/man/man1/knife-bootstrap.1 +1 -1
- data/distro/common/man/man1/knife-client.1 +1 -1
- data/distro/common/man/man1/knife-configure.1 +1 -1
- data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
- data/distro/common/man/man1/knife-cookbook.1 +1 -1
- data/distro/common/man/man1/knife-data-bag.1 +1 -1
- data/distro/common/man/man1/knife-environment.1 +1 -1
- data/distro/common/man/man1/knife-exec.1 +1 -1
- data/distro/common/man/man1/knife-index.1 +1 -1
- data/distro/common/man/man1/knife-node.1 +1 -1
- data/distro/common/man/man1/knife-role.1 +1 -1
- data/distro/common/man/man1/knife-search.1 +1 -1
- data/distro/common/man/man1/knife-ssh.1 +1 -1
- data/distro/common/man/man1/knife-status.1 +1 -1
- data/distro/common/man/man1/knife-tag.1 +1 -1
- data/distro/common/man/man1/knife.1 +1 -1
- data/distro/common/man/man1/shef.1 +1 -1
- data/distro/common/man/man8/chef-client.8 +1 -1
- data/distro/common/man/man8/{chef-expander-cluster.8 → chef-expander.8} +5 -5
- data/distro/common/man/man8/chef-expanderctl.8 +1 -1
- data/distro/common/man/man8/chef-server-webui.8 +1 -1
- data/distro/common/man/man8/chef-server.8 +1 -1
- data/distro/common/man/man8/chef-solo.8 +1 -1
- data/distro/common/man/man8/chef-solr.8 +1 -1
- data/distro/common/markdown/man8/{chef-expander-cluster.mkd → chef-expander.mkd} +4 -4
- data/distro/redhat/etc/init.d/chef-expander +1 -1
- data/distro/redhat/etc/init.d/chef-solr +1 -1
- data/lib/chef/data_bag_item.rb +3 -3
- data/lib/chef/knife/data_bag_create.rb +13 -12
- data/lib/chef/knife/data_bag_edit.rb +2 -2
- data/lib/chef/knife/data_bag_from_file.rb +2 -2
- data/lib/chef/knife/data_bag_show.rb +2 -2
- data/lib/chef/mixin/language.rb +1 -0
- data/lib/chef/recipe.rb +1 -0
- data/lib/chef/version.rb +1 -1
- 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.
|
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
|
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
|
70
|
+
<li class='tl'>chef-expander(8)</li>
|
71
71
|
<li class='tc'>Chef Manual</li>
|
72
|
-
<li class='tr'>chef-expander
|
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
|
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
|
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
|
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> 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
|
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="ma&#
|
146
|
+
<p>Chef was written by Adam Jacob <a href="mailto:adam@ospcode.com" data-bare-link="true">adam@ospcode.com</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="&#
|
148
|
+
manual page was created by Nuo Yan <a href="mailto:nuo@opscode.com" data-bare-link="true">nuo@opscode.com</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.
|
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
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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>
|
@@ -257,7 +257,7 @@ override_attributes "aws_s3_bucket" => "production"
|
|
257
257
|
|
258
258
|
|
259
259
|
<ol class='man-decor man-foot man foot'>
|
260
|
-
<li class='tl'>Chef 0.10.0.rc.
|
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>
|
@@ -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.
|
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.
|
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>
|
@@ -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.
|
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>
|
@@ -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.
|
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>
|
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
4
|
+
.TH "CHEF\-EXPANDER" "8" "April 2011" "Chef 0.10.0.rc.2" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
|
-
\fBchef\-expander
|
7
|
+
\fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBchef\-expander
|
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
|
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
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
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-
|
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
|
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
|
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
|
data/lib/chef/data_bag_item.rb
CHANGED
@@ -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}",
|
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}",
|
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}",
|
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 => "--
|
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, --
|
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 =
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
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 => "--
|
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, --
|
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 => "--
|
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, --
|
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 => "--
|
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, --
|
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]
|
data/lib/chef/mixin/language.rb
CHANGED
data/lib/chef/recipe.rb
CHANGED
data/lib/chef/version.rb
CHANGED
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.
|
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-
|
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
|
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
|
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
|
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
|