microwave 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -4
- data/bin/chef-solo +2 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/unit/checksum/storage/filesystem_spec.rb +4 -4
- data/spec/unit/config_spec.rb +7 -4
- data/spec/unit/data_bag_spec.rb +11 -11
- data/spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb +8 -8
- data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +5 -5
- metadata +10 -124
- data/distro/README +0 -2
- data/distro/arch/etc/conf.d/chef-client.conf +0 -5
- data/distro/arch/etc/conf.d/chef-expander.conf +0 -8
- data/distro/arch/etc/conf.d/chef-server-webui.conf +0 -10
- data/distro/arch/etc/conf.d/chef-server.conf +0 -10
- data/distro/arch/etc/conf.d/chef-solr.conf +0 -8
- data/distro/arch/etc/rc.d/chef-client +0 -90
- data/distro/arch/etc/rc.d/chef-expander +0 -78
- data/distro/arch/etc/rc.d/chef-server +0 -78
- data/distro/arch/etc/rc.d/chef-server-webui +0 -78
- data/distro/arch/etc/rc.d/chef-solr +0 -78
- data/distro/common/html/chef-client.8.html +0 -145
- data/distro/common/html/chef-expander.8.html +0 -164
- data/distro/common/html/chef-expanderctl.8.html +0 -146
- data/distro/common/html/chef-server-webui.8.html +0 -185
- data/distro/common/html/chef-server.8.html +0 -182
- data/distro/common/html/chef-solo.8.html +0 -191
- data/distro/common/html/chef-solr.8.html +0 -165
- data/distro/common/html/knife-bootstrap.1.html +0 -241
- data/distro/common/html/knife-client.1.html +0 -219
- data/distro/common/html/knife-configure.1.html +0 -170
- data/distro/common/html/knife-cookbook-site.1.html +0 -241
- data/distro/common/html/knife-cookbook.1.html +0 -384
- data/distro/common/html/knife-data-bag.1.html +0 -238
- data/distro/common/html/knife-environment.1.html +0 -267
- data/distro/common/html/knife-exec.1.html +0 -134
- data/distro/common/html/knife-index.1.html +0 -125
- data/distro/common/html/knife-node.1.html +0 -250
- data/distro/common/html/knife-recipe.1.html +0 -92
- data/distro/common/html/knife-role.1.html +0 -200
- data/distro/common/html/knife-search.1.html +0 -288
- data/distro/common/html/knife-ssh.1.html +0 -156
- data/distro/common/html/knife-status.1.html +0 -128
- data/distro/common/html/knife-tag.1.html +0 -137
- data/distro/common/html/knife.1.html +0 -320
- data/distro/common/html/shef.1.html +0 -283
- data/distro/common/man/man1/knife-bootstrap.1 +0 -201
- data/distro/common/man/man1/knife-client.1 +0 -99
- data/distro/common/man/man1/knife-configure.1 +0 -88
- data/distro/common/man/man1/knife-cookbook-site.1 +0 -145
- data/distro/common/man/man1/knife-cookbook.1 +0 -345
- data/distro/common/man/man1/knife-data-bag.1 +0 -136
- data/distro/common/man/man1/knife-environment.1 +0 -178
- data/distro/common/man/man1/knife-exec.1 +0 -46
- data/distro/common/man/man1/knife-index.1 +0 -29
- data/distro/common/man/man1/knife-node.1 +0 -134
- data/distro/common/man/man1/knife-role.1 +0 -88
- data/distro/common/man/man1/knife-search.1 +0 -280
- data/distro/common/man/man1/knife-ssh.1 +0 -79
- data/distro/common/man/man1/knife-status.1 +0 -29
- data/distro/common/man/man1/knife-tag.1 +0 -43
- data/distro/common/man/man1/knife.1 +0 -288
- data/distro/common/man/man1/shef.1 +0 -256
- data/distro/common/man/man8/chef-client.8 +0 -104
- data/distro/common/man/man8/chef-expander.8 +0 -97
- data/distro/common/man/man8/chef-expanderctl.8 +0 -62
- data/distro/common/man/man8/chef-server-webui.8 +0 -155
- data/distro/common/man/man8/chef-server.8 +0 -147
- data/distro/common/man/man8/chef-solo.8 +0 -158
- data/distro/common/man/man8/chef-solr.8 +0 -122
- data/distro/common/markdown/README +0 -3
- data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
- data/distro/common/markdown/man1/knife-client.mkd +0 -103
- data/distro/common/markdown/man1/knife-configure.mkd +0 -70
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
- data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
- data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
- data/distro/common/markdown/man1/knife-environment.mkd +0 -151
- data/distro/common/markdown/man1/knife-exec.mkd +0 -37
- data/distro/common/markdown/man1/knife-index.mkd +0 -30
- data/distro/common/markdown/man1/knife-node.mkd +0 -130
- data/distro/common/markdown/man1/knife-role.mkd +0 -85
- data/distro/common/markdown/man1/knife-search.mkd +0 -180
- data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
- data/distro/common/markdown/man1/knife-status.mkd +0 -36
- data/distro/common/markdown/man1/knife-tag.mkd +0 -39
- data/distro/common/markdown/man1/knife.mkd +0 -218
- data/distro/common/markdown/man1/shef.mkd +0 -189
- data/distro/common/markdown/man8/chef-client.mkd +0 -74
- data/distro/common/markdown/man8/chef-expander.mkd +0 -82
- data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -58
- data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
- data/distro/common/markdown/man8/chef-server.mkd +0 -121
- data/distro/common/markdown/man8/chef-solo.mkd +0 -107
- data/distro/common/markdown/man8/chef-solr.mkd +0 -89
- data/distro/debian/etc/default/chef-client +0 -4
- data/distro/debian/etc/default/chef-expander +0 -8
- data/distro/debian/etc/default/chef-server +0 -9
- data/distro/debian/etc/default/chef-server-webui +0 -9
- data/distro/debian/etc/default/chef-solr +0 -8
- data/distro/debian/etc/init.d/chef-client +0 -210
- data/distro/debian/etc/init.d/chef-expander +0 -176
- data/distro/debian/etc/init.d/chef-server +0 -122
- data/distro/debian/etc/init.d/chef-server-webui +0 -123
- data/distro/debian/etc/init.d/chef-solr +0 -176
- data/distro/debian/etc/init/chef-client.conf +0 -17
- data/distro/debian/etc/init/chef-expander.conf +0 -17
- data/distro/debian/etc/init/chef-server-webui.conf +0 -17
- data/distro/debian/etc/init/chef-server.conf +0 -17
- data/distro/debian/etc/init/chef-solr.conf +0 -17
- data/distro/redhat/etc/init.d/chef-client +0 -121
- data/distro/redhat/etc/init.d/chef-expander +0 -104
- data/distro/redhat/etc/init.d/chef-server +0 -112
- data/distro/redhat/etc/init.d/chef-server-webui +0 -112
- data/distro/redhat/etc/init.d/chef-solr +0 -104
- data/distro/redhat/etc/logrotate.d/chef-client +0 -8
- data/distro/redhat/etc/logrotate.d/chef-expander +0 -8
- data/distro/redhat/etc/logrotate.d/chef-server +0 -8
- data/distro/redhat/etc/logrotate.d/chef-server-webui +0 -8
- data/distro/redhat/etc/logrotate.d/chef-solr +0 -8
- data/distro/redhat/etc/sysconfig/chef-client +0 -15
- data/distro/redhat/etc/sysconfig/chef-expander +0 -7
- data/distro/redhat/etc/sysconfig/chef-server +0 -14
- data/distro/redhat/etc/sysconfig/chef-server-webui +0 -14
- data/distro/redhat/etc/sysconfig/chef-solr +0 -8
- data/distro/windows/service_manager.rb +0 -164
@@ -1,156 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
-
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
-
<title>knife-ssh(1) - Run a command or interactive session on multiple remote hosts</title>
|
7
|
-
<style type='text/css' media='all'>
|
8
|
-
/* style: man */
|
9
|
-
body#manpage {margin:0}
|
10
|
-
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
-
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
-
.mp h2 {margin:10px 0 0 0}
|
13
|
-
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
-
.mp h3 {margin:0 0 0 4ex}
|
15
|
-
.mp dt {margin:0;clear:left}
|
16
|
-
.mp dt.flush {float:left;width:8ex}
|
17
|
-
.mp dd {margin:0 0 0 9ex}
|
18
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
-
.mp pre {margin-bottom:20px}
|
20
|
-
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
-
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
-
.mp img {display:block;margin:auto}
|
23
|
-
.mp h1.man-title {display:none}
|
24
|
-
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
-
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
-
.mp h1 {font-size:20px;line-height:2}
|
27
|
-
.mp {text-align:justify;background:#fff}
|
28
|
-
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
-
.mp u {text-decoration:underline}
|
31
|
-
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
-
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
-
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
-
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
-
.mp pre {padding:0 4ex}
|
36
|
-
.mp pre code {font-weight:normal;color:#434241}
|
37
|
-
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
-
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
-
ol.man-decor {width:100%}
|
40
|
-
ol.man-decor li.tl {text-align:left}
|
41
|
-
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
-
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
-
</style>
|
44
|
-
<style type='text/css' media='all'>
|
45
|
-
/* style: toc */
|
46
|
-
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
47
|
-
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
48
|
-
.man-navigation a:hover {color:#111;text-decoration:underline}
|
49
|
-
</style>
|
50
|
-
</head>
|
51
|
-
<!--
|
52
|
-
The following styles are deprecated and will be removed at some point:
|
53
|
-
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
54
|
-
|
55
|
-
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
56
|
-
.man-navigation should be used instead.
|
57
|
-
-->
|
58
|
-
<body id='manpage'>
|
59
|
-
<div class='mp' id='man'>
|
60
|
-
|
61
|
-
<div class='man-navigation' style='display:none'>
|
62
|
-
<a href="#NAME">NAME</a>
|
63
|
-
<a href="#SYNOPSIS">SYNOPSIS</a>
|
64
|
-
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
|
-
<a href="#TERMINAL-MULTIPLEXING-AND-TERMINAL-TAB-SUPPORT">TERMINAL MULTIPLEXING AND TERMINAL TAB SUPPORT</a>
|
66
|
-
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
-
<a href="#AUTHOR">AUTHOR</a>
|
68
|
-
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
69
|
-
<a href="#CHEF">CHEF</a>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
<ol class='man-decor man-head man head'>
|
73
|
-
<li class='tl'>knife-ssh(1)</li>
|
74
|
-
<li class='tc'>Chef Manual</li>
|
75
|
-
<li class='tr'>knife-ssh(1)</li>
|
76
|
-
</ol>
|
77
|
-
|
78
|
-
<h2 id="NAME">NAME</h2>
|
79
|
-
<p class="man-name">
|
80
|
-
<code>knife-ssh</code> - <span class="man-whatis">Run a command or interactive session on multiple remote hosts</span>
|
81
|
-
</p>
|
82
|
-
|
83
|
-
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
84
|
-
|
85
|
-
<p><strong>knife</strong> <strong>ssh QUERY COMMAND</strong> <em>(options)</em></p>
|
86
|
-
|
87
|
-
<dl>
|
88
|
-
<dt><code>-a</code>, <code>--attribute ATTR </code></dt><dd>The attribute to use for opening the connection - default is fqdn</dd>
|
89
|
-
<dt><code>-C</code>, <code>--concurrency NUM </code></dt><dd>The number of concurrent connections</dd>
|
90
|
-
<dt><code>-m</code>, <code>--manual-list </code></dt><dd>QUERY is a space separated list of servers</dd>
|
91
|
-
<dt><code>-P</code>, <code>--ssh-password PASSWORD</code></dt><dd>The ssh password</dd>
|
92
|
-
<dt><code>-x</code>, <code>--ssh-user USERNAME </code></dt><dd>The ssh username</dd>
|
93
|
-
<dt><code>-i</code>, <code>--identity-file IDENTITY_FILE</code></dt><dd>The SSH identity file used for authentication</dd>
|
94
|
-
<dt><code>-p</code>, <code>--ssh-port PORT</code></dt><dd>The ssh port</dd>
|
95
|
-
<dt><code>--[no-]host-key-verify</code></dt><dd>Verify host key, enabled by default.</dd>
|
96
|
-
</dl>
|
97
|
-
|
98
|
-
|
99
|
-
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
100
|
-
|
101
|
-
<p>The <em>ssh</em> sub-command opens an ssh session to each of the nodes in the
|
102
|
-
search results of the <em>QUERY</em>. This sub-command requires that the
|
103
|
-
net-ssh-multi and highline Ruby libraries are installed. On Debian
|
104
|
-
systems, these are the libnet-ssh-multi-ruby and libhighline-ruby
|
105
|
-
packages. They can also be installed as RubyGems (net-ssh-multi and
|
106
|
-
highline, respectively).</p>
|
107
|
-
|
108
|
-
<h2 id="TERMINAL-MULTIPLEXING-AND-TERMINAL-TAB-SUPPORT">TERMINAL MULTIPLEXING AND TERMINAL TAB SUPPORT</h2>
|
109
|
-
|
110
|
-
<p><code>knife ssh</code> integrates with several terminal multiplexer programs to
|
111
|
-
provide a more convenient means of managing multiple ssh sessions. When
|
112
|
-
the <em>COMMAND</em> option matches one of these, <code>knife ssh</code> will create
|
113
|
-
multiple interactive ssh sessions running locally in the terminal
|
114
|
-
multiplexer instead of invoking the command on the remote host.</p>
|
115
|
-
|
116
|
-
<p>The available multiplexers are:</p>
|
117
|
-
|
118
|
-
<dl>
|
119
|
-
<dt><code>interactive</code></dt><dd>A built-in multiplexer. <code>interactive</code> supports running commands on a
|
120
|
-
subset of the connected hosts in parallel</dd>
|
121
|
-
<dt><strong>screen</strong>(1)</dt><dd>Runs ssh interactively inside <code>screen</code>. ~/.screenrc will be sourced
|
122
|
-
if it exists.</dd>
|
123
|
-
<dt class="flush"><strong>tmux</strong>(1)</dt><dd>Runs ssh interactively inside tmux.</dd>
|
124
|
-
<dt><code>macterm</code> (Mac OS X only)</dt><dd>Opens a Terminal.app window and creates a tab for each ssh session.
|
125
|
-
You must install the rb-appscript gem before you can use this
|
126
|
-
option.</dd>
|
127
|
-
</dl>
|
128
|
-
|
129
|
-
|
130
|
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
131
|
-
|
132
|
-
<p> <strong>knife-search</strong>(1)</p>
|
133
|
-
|
134
|
-
<h2 id="AUTHOR">AUTHOR</h2>
|
135
|
-
|
136
|
-
<p> Chef was written by Adam Jacob <a data-bare-link="true" href="mailto:adam@opscode.com">adam@opscode.com</a> with many contributions from the community.</p>
|
137
|
-
|
138
|
-
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
139
|
-
|
140
|
-
<p> This manual page was written by Joshua Timberman <a data-bare-link="true" href="mailto:joshua@opscode.com">joshua@opscode.com</a>.
|
141
|
-
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
142
|
-
|
143
|
-
<h2 id="CHEF">CHEF</h2>
|
144
|
-
|
145
|
-
<p> Knife is distributed with Chef. <a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Home">http://wiki.opscode.com/display/chef/Home</a></p>
|
146
|
-
|
147
|
-
|
148
|
-
<ol class='man-decor man-foot man foot'>
|
149
|
-
<li class='tl'>Chef 10.16.0.rc.1</li>
|
150
|
-
<li class='tc'>October 2012</li>
|
151
|
-
<li class='tr'>knife-ssh(1)</li>
|
152
|
-
</ol>
|
153
|
-
|
154
|
-
</div>
|
155
|
-
</body>
|
156
|
-
</html>
|
@@ -1,128 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
-
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
-
<title>knife-status(1) - Display status information for the nodes in your infrastructure</title>
|
7
|
-
<style type='text/css' media='all'>
|
8
|
-
/* style: man */
|
9
|
-
body#manpage {margin:0}
|
10
|
-
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
-
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
-
.mp h2 {margin:10px 0 0 0}
|
13
|
-
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
-
.mp h3 {margin:0 0 0 4ex}
|
15
|
-
.mp dt {margin:0;clear:left}
|
16
|
-
.mp dt.flush {float:left;width:8ex}
|
17
|
-
.mp dd {margin:0 0 0 9ex}
|
18
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
-
.mp pre {margin-bottom:20px}
|
20
|
-
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
-
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
-
.mp img {display:block;margin:auto}
|
23
|
-
.mp h1.man-title {display:none}
|
24
|
-
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
-
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
-
.mp h1 {font-size:20px;line-height:2}
|
27
|
-
.mp {text-align:justify;background:#fff}
|
28
|
-
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
-
.mp u {text-decoration:underline}
|
31
|
-
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
-
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
-
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
-
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
-
.mp pre {padding:0 4ex}
|
36
|
-
.mp pre code {font-weight:normal;color:#434241}
|
37
|
-
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
-
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
-
ol.man-decor {width:100%}
|
40
|
-
ol.man-decor li.tl {text-align:left}
|
41
|
-
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
-
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
-
</style>
|
44
|
-
<style type='text/css' media='all'>
|
45
|
-
/* style: toc */
|
46
|
-
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
47
|
-
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
48
|
-
.man-navigation a:hover {color:#111;text-decoration:underline}
|
49
|
-
</style>
|
50
|
-
</head>
|
51
|
-
<!--
|
52
|
-
The following styles are deprecated and will be removed at some point:
|
53
|
-
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
54
|
-
|
55
|
-
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
56
|
-
.man-navigation should be used instead.
|
57
|
-
-->
|
58
|
-
<body id='manpage'>
|
59
|
-
<div class='mp' id='man'>
|
60
|
-
|
61
|
-
<div class='man-navigation' style='display:none'>
|
62
|
-
<a href="#NAME">NAME</a>
|
63
|
-
<a href="#SYNOPSIS">SYNOPSIS</a>
|
64
|
-
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
|
-
<a href="#SEE-ALSO">SEE ALSO</a>
|
66
|
-
<a href="#AUTHOR">AUTHOR</a>
|
67
|
-
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
68
|
-
<a href="#CHEF">CHEF</a>
|
69
|
-
</div>
|
70
|
-
|
71
|
-
<ol class='man-decor man-head man head'>
|
72
|
-
<li class='tl'>knife-status(1)</li>
|
73
|
-
<li class='tc'>Chef Manual</li>
|
74
|
-
<li class='tr'>knife-status(1)</li>
|
75
|
-
</ol>
|
76
|
-
|
77
|
-
<h2 id="NAME">NAME</h2>
|
78
|
-
<p class="man-name">
|
79
|
-
<code>knife-status</code> - <span class="man-whatis">Display status information for the nodes in your infrastructure</span>
|
80
|
-
</p>
|
81
|
-
|
82
|
-
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
83
|
-
|
84
|
-
<p><strong>knife</strong> <strong>status</strong> <em>(options)</em></p>
|
85
|
-
|
86
|
-
<dl>
|
87
|
-
<dt><code>-r</code>, <code>--run-list RUN_LIST</code></dt><dd>Show the run list</dd>
|
88
|
-
</dl>
|
89
|
-
|
90
|
-
|
91
|
-
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
92
|
-
|
93
|
-
<p>The <em>status</em> sub-command searches the Chef Server for all nodes and
|
94
|
-
displays information about the last time the node checked into the
|
95
|
-
server and executed a <code>node.save</code>. The fields displayed are the relative
|
96
|
-
checkin time, the node name, it's operating system platform and version,
|
97
|
-
the fully-qualified domain name and the default IP address. If the <code>-r</code>
|
98
|
-
option is given, the node's run list will also be displayed. Note that
|
99
|
-
depending on the configuration of the nodes, the FQDN and IP displayed
|
100
|
-
may not be publicly reachable.</p>
|
101
|
-
|
102
|
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
103
|
-
|
104
|
-
<p> <strong>knife-search</strong>(1)</p>
|
105
|
-
|
106
|
-
<h2 id="AUTHOR">AUTHOR</h2>
|
107
|
-
|
108
|
-
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
109
|
-
|
110
|
-
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
111
|
-
|
112
|
-
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
113
|
-
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
114
|
-
|
115
|
-
<h2 id="CHEF">CHEF</h2>
|
116
|
-
|
117
|
-
<p> Knife is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home" data-bare-link="true">http://wiki.opscode.com/display/chef/Home</a></p>
|
118
|
-
|
119
|
-
|
120
|
-
<ol class='man-decor man-foot man foot'>
|
121
|
-
<li class='tl'>Chef 10.16.0.rc.1</li>
|
122
|
-
<li class='tc'>October 2012</li>
|
123
|
-
<li class='tr'>knife-status(1)</li>
|
124
|
-
</ol>
|
125
|
-
|
126
|
-
</div>
|
127
|
-
</body>
|
128
|
-
</html>
|
@@ -1,137 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
-
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
-
<title>knife-tag(1) - Apply tags to nodes on a Chef Server</title>
|
7
|
-
<style type='text/css' media='all'>
|
8
|
-
/* style: man */
|
9
|
-
body#manpage {margin:0}
|
10
|
-
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
-
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
-
.mp h2 {margin:10px 0 0 0}
|
13
|
-
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
-
.mp h3 {margin:0 0 0 4ex}
|
15
|
-
.mp dt {margin:0;clear:left}
|
16
|
-
.mp dt.flush {float:left;width:8ex}
|
17
|
-
.mp dd {margin:0 0 0 9ex}
|
18
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
-
.mp pre {margin-bottom:20px}
|
20
|
-
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
-
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
-
.mp img {display:block;margin:auto}
|
23
|
-
.mp h1.man-title {display:none}
|
24
|
-
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
-
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
-
.mp h1 {font-size:20px;line-height:2}
|
27
|
-
.mp {text-align:justify;background:#fff}
|
28
|
-
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
-
.mp u {text-decoration:underline}
|
31
|
-
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
-
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
-
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
-
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
-
.mp pre {padding:0 4ex}
|
36
|
-
.mp pre code {font-weight:normal;color:#434241}
|
37
|
-
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
-
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
-
ol.man-decor {width:100%}
|
40
|
-
ol.man-decor li.tl {text-align:left}
|
41
|
-
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
-
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
-
</style>
|
44
|
-
<style type='text/css' media='all'>
|
45
|
-
/* style: toc */
|
46
|
-
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
47
|
-
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
48
|
-
.man-navigation a:hover {color:#111;text-decoration:underline}
|
49
|
-
</style>
|
50
|
-
</head>
|
51
|
-
<!--
|
52
|
-
The following styles are deprecated and will be removed at some point:
|
53
|
-
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
54
|
-
|
55
|
-
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
56
|
-
.man-navigation should be used instead.
|
57
|
-
-->
|
58
|
-
<body id='manpage'>
|
59
|
-
<div class='mp' id='man'>
|
60
|
-
|
61
|
-
<div class='man-navigation' style='display:none'>
|
62
|
-
<a href="#NAME">NAME</a>
|
63
|
-
<a href="#SYNOPSIS">SYNOPSIS</a>
|
64
|
-
<a href="#TAG-SUBCOMMANDS">TAG SUBCOMMANDS</a>
|
65
|
-
<a href="#CREATE">CREATE</a>
|
66
|
-
<a href="#DELETE">DELETE</a>
|
67
|
-
<a href="#LIST">LIST</a>
|
68
|
-
<a href="#SEE-ALSO">SEE ALSO</a>
|
69
|
-
<a href="#AUTHOR">AUTHOR</a>
|
70
|
-
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
71
|
-
<a href="#CHEF">CHEF</a>
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<ol class='man-decor man-head man head'>
|
75
|
-
<li class='tl'>knife-tag(1)</li>
|
76
|
-
<li class='tc'>Chef Manual</li>
|
77
|
-
<li class='tr'>knife-tag(1)</li>
|
78
|
-
</ol>
|
79
|
-
|
80
|
-
<h2 id="NAME">NAME</h2>
|
81
|
-
<p class="man-name">
|
82
|
-
<code>knife-tag</code> - <span class="man-whatis">Apply tags to nodes on a Chef Server</span>
|
83
|
-
</p>
|
84
|
-
|
85
|
-
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
86
|
-
|
87
|
-
<p><strong>knife</strong> <strong>tag</strong> <em>subcommand</em> <em>(options)</em></p>
|
88
|
-
|
89
|
-
<h2 id="TAG-SUBCOMMANDS">TAG SUBCOMMANDS</h2>
|
90
|
-
|
91
|
-
<p>The following <code>tag</code> subcommands are available:</p>
|
92
|
-
|
93
|
-
<h2 id="CREATE">CREATE</h2>
|
94
|
-
|
95
|
-
<p><strong>knife tag create</strong> <em>node</em> <em>tag</em> [<em>...</em>]</p>
|
96
|
-
|
97
|
-
<p>Adds one or more tags to <em>node</em></p>
|
98
|
-
|
99
|
-
<h2 id="DELETE">DELETE</h2>
|
100
|
-
|
101
|
-
<p><strong>knife tag delete</strong> <em>node</em> <em>tag</em> [<em>...</em>]</p>
|
102
|
-
|
103
|
-
<p>Removes one or more tags from <em>node</em></p>
|
104
|
-
|
105
|
-
<h2 id="LIST">LIST</h2>
|
106
|
-
|
107
|
-
<p><strong>knife tag list</strong> <em>node</em></p>
|
108
|
-
|
109
|
-
<p>Lists the tags applied to <em>node</em></p>
|
110
|
-
|
111
|
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
112
|
-
|
113
|
-
<p> <strong><span class="man-ref">knife-node<span class="s">(1)</span></span></strong></p>
|
114
|
-
|
115
|
-
<h2 id="AUTHOR">AUTHOR</h2>
|
116
|
-
|
117
|
-
<p> Chef was written by Adam Jacob <a data-bare-link="true" href="mailto:adam@opscode.com">adam@opscode.com</a> with many contributions from the community.</p>
|
118
|
-
|
119
|
-
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
120
|
-
|
121
|
-
<p> This manual page was written by Daniel DeLeo <a data-bare-link="true" href="mailto:dan@opscode.com">dan@opscode.com</a>.
|
122
|
-
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
123
|
-
|
124
|
-
<h2 id="CHEF">CHEF</h2>
|
125
|
-
|
126
|
-
<p> Knife is distributed with Chef. <a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Home">http://wiki.opscode.com/display/chef/Home</a></p>
|
127
|
-
|
128
|
-
|
129
|
-
<ol class='man-decor man-foot man foot'>
|
130
|
-
<li class='tl'>Chef 10.16.0.rc.1</li>
|
131
|
-
<li class='tc'>October 2012</li>
|
132
|
-
<li class='tr'>knife-tag(1)</li>
|
133
|
-
</ol>
|
134
|
-
|
135
|
-
</div>
|
136
|
-
</body>
|
137
|
-
</html>
|
@@ -1,320 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
5
|
-
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
6
|
-
<title>knife(1) - Chef Server API client utility</title>
|
7
|
-
<style type='text/css' media='all'>
|
8
|
-
/* style: man */
|
9
|
-
body#manpage {margin:0}
|
10
|
-
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
-
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
-
.mp h2 {margin:10px 0 0 0}
|
13
|
-
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
-
.mp h3 {margin:0 0 0 4ex}
|
15
|
-
.mp dt {margin:0;clear:left}
|
16
|
-
.mp dt.flush {float:left;width:8ex}
|
17
|
-
.mp dd {margin:0 0 0 9ex}
|
18
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
-
.mp pre {margin-bottom:20px}
|
20
|
-
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
-
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
-
.mp img {display:block;margin:auto}
|
23
|
-
.mp h1.man-title {display:none}
|
24
|
-
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
-
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
-
.mp h1 {font-size:20px;line-height:2}
|
27
|
-
.mp {text-align:justify;background:#fff}
|
28
|
-
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
-
.mp u {text-decoration:underline}
|
31
|
-
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
-
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
-
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
-
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
-
.mp pre {padding:0 4ex}
|
36
|
-
.mp pre code {font-weight:normal;color:#434241}
|
37
|
-
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
-
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
-
ol.man-decor {width:100%}
|
40
|
-
ol.man-decor li.tl {text-align:left}
|
41
|
-
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
-
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
-
</style>
|
44
|
-
<style type='text/css' media='all'>
|
45
|
-
/* style: toc */
|
46
|
-
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
47
|
-
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
48
|
-
.man-navigation a:hover {color:#111;text-decoration:underline}
|
49
|
-
</style>
|
50
|
-
</head>
|
51
|
-
<!--
|
52
|
-
The following styles are deprecated and will be removed at some point:
|
53
|
-
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
54
|
-
|
55
|
-
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
56
|
-
.man-navigation should be used instead.
|
57
|
-
-->
|
58
|
-
<body id='manpage'>
|
59
|
-
<div class='mp' id='man'>
|
60
|
-
|
61
|
-
<div class='man-navigation' style='display:none'>
|
62
|
-
<a href="#NAME">NAME</a>
|
63
|
-
<a href="#SYNOPSIS">SYNOPSIS</a>
|
64
|
-
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
|
-
<a href="#OPTIONS">OPTIONS</a>
|
66
|
-
<a href="#SUB-COMMANDS">SUB-COMMANDS</a>
|
67
|
-
<a href="#CONFIGURATION">CONFIGURATION</a>
|
68
|
-
<a href="#FILES">FILES</a>
|
69
|
-
<a href="#FORMATS">FORMATS</a>
|
70
|
-
<a href="#CHEF-WORKFLOW">CHEF WORKFLOW</a>
|
71
|
-
<a href="#EXAMPLES">EXAMPLES</a>
|
72
|
-
<a href="#ENVIRONMENT">ENVIRONMENT</a>
|
73
|
-
<a href="#SEE-ALSO">SEE ALSO</a>
|
74
|
-
<a href="#AUTHOR">AUTHOR</a>
|
75
|
-
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
76
|
-
<a href="#LICENSE">LICENSE</a>
|
77
|
-
<a href="#CHEF">CHEF</a>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<ol class='man-decor man-head man head'>
|
81
|
-
<li class='tl'>knife(1)</li>
|
82
|
-
<li class='tc'>Chef Manual</li>
|
83
|
-
<li class='tr'>knife(1)</li>
|
84
|
-
</ol>
|
85
|
-
|
86
|
-
<h2 id="NAME">NAME</h2>
|
87
|
-
<p class="man-name">
|
88
|
-
<code>knife</code> - <span class="man-whatis">Chef Server API client utility</span>
|
89
|
-
</p>
|
90
|
-
|
91
|
-
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
92
|
-
|
93
|
-
<p><strong>knife</strong> <em>sub-command</em> [<em>argument</em>...] <em>(options)</em></p>
|
94
|
-
|
95
|
-
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
96
|
-
|
97
|
-
<p>Knife is a command-line utility used to manage data on a Chef server
|
98
|
-
through the HTTP(S) API. Knife is organized into groups of subcommands
|
99
|
-
centered around the various object types in Chef. Each category of
|
100
|
-
subcommand is documented in its own manual page. Available topics are:</p>
|
101
|
-
|
102
|
-
<ul>
|
103
|
-
<li>bootstrap</li>
|
104
|
-
<li>client</li>
|
105
|
-
<li>configure</li>
|
106
|
-
<li>cookbook-site</li>
|
107
|
-
<li>cookbook</li>
|
108
|
-
<li>data-bag</li>
|
109
|
-
<li>environment</li>
|
110
|
-
<li>exec</li>
|
111
|
-
<li>index</li>
|
112
|
-
<li>node</li>
|
113
|
-
<li>recipe</li>
|
114
|
-
<li>role</li>
|
115
|
-
<li>search</li>
|
116
|
-
<li>ssh</li>
|
117
|
-
<li>status</li>
|
118
|
-
<li>tag</li>
|
119
|
-
</ul>
|
120
|
-
|
121
|
-
|
122
|
-
<p>If the knife manuals are in your <code>MANPATH</code>, you can access help for the
|
123
|
-
above topics using <code>man knife-TOPIC</code>; otherwise, you can view the
|
124
|
-
documentation using <code>knife help TOPIC</code>.</p>
|
125
|
-
|
126
|
-
<h2 id="OPTIONS">OPTIONS</h2>
|
127
|
-
|
128
|
-
<dl>
|
129
|
-
<dt><code>-s</code>, <code>--server-url</code> URL</dt><dd>Chef Server URL, corresponds to <code>Chef::Config</code> <code>chef_server_url</code>.</dd>
|
130
|
-
<dt><code>-k</code>, <code>--key</code> KEY</dt><dd>API Client Key, corresponds to <code>Chef::Config</code> <code>client_key</code>.</dd>
|
131
|
-
<dt><code>-c</code>, <code>--config</code> CONFIG</dt><dd>The configuration file to use</dd>
|
132
|
-
<dt><code>-E</code>, <code>--environment ENVIRONMENT</code></dt><dd>Set the Chef environment</dd>
|
133
|
-
<dt><code>-e</code>, <code>--editor</code> EDITOR</dt><dd>Set the editor to use for interactive commands</dd>
|
134
|
-
<dt><code>-F</code>, <code>--format</code> FORMAT</dt><dd>Which format to use for output. See FORMATS for details.</dd>
|
135
|
-
<dt><code>-d</code>, <code>--disable-editing</code></dt><dd>Do not open EDITOR, just accept the data as is</dd>
|
136
|
-
<dt><code>-u</code>, <code>--user</code> USER</dt><dd>API Client Username, corresponds to <code>Chef::Config</code> <code>node_name</code>.</dd>
|
137
|
-
<dt><code>-p</code>, <code>--print-after</code></dt><dd>Show the data after a destructive operation</dd>
|
138
|
-
<dt><code>-v</code>, <code>--version</code></dt><dd>Show chef version</dd>
|
139
|
-
<dt><code>-V</code>, <code>--verbose</code></dt><dd>More verbose output. Use twice for max verbosity.</dd>
|
140
|
-
<dt><code>-y</code>, <code>--yes</code></dt><dd>Say yes to all prompts for confirmation</dd>
|
141
|
-
<dt><code>--defaults</code></dt><dd>Accept default values for all questions</dd>
|
142
|
-
<dt><code>--[no-]color</code></dt><dd>Use colored output. Color enabled by default.</dd>
|
143
|
-
<dt><code>-h</code>, <code>--help</code></dt><dd>Show the available options for a command.</dd>
|
144
|
-
</dl>
|
145
|
-
|
146
|
-
|
147
|
-
<h2 id="SUB-COMMANDS">SUB-COMMANDS</h2>
|
148
|
-
|
149
|
-
<p>Sub-commands that operate on the basic Chef data types are structured as
|
150
|
-
<em>NOUN verb NOUN (options)</em>. For all data types, the following commands
|
151
|
-
are available:</p>
|
152
|
-
|
153
|
-
<ul>
|
154
|
-
<li>create (create)</li>
|
155
|
-
<li>list and show (read)</li>
|
156
|
-
<li>edit (update)</li>
|
157
|
-
<li>delete (destroy)</li>
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
<p>Knife also includes commands that take actions other than displaying or
|
162
|
-
modifying data on the Chef Server, such as <strong><span class="man-ref">knife-ssh<span class="s">(1)</span></span></strong>.</p>
|
163
|
-
|
164
|
-
<h2 id="CONFIGURATION">CONFIGURATION</h2>
|
165
|
-
|
166
|
-
<p>The knife configuration file is a Ruby DSL to set configuration
|
167
|
-
parameters for Knife's <strong>GENERAL OPTIONS</strong>. The default location for the
|
168
|
-
config file is <code>~/.chef/knife.rb</code>. If managing multiple Chef
|
169
|
-
repositories, per-repository config files can be created. The file must
|
170
|
-
be <code>.chef/knife.rb</code> in the current directory of the repository.</p>
|
171
|
-
|
172
|
-
<p>If the config file exists, knife uses these settings for <strong>GENERAL OPTIONS</strong> defaults.</p>
|
173
|
-
|
174
|
-
<ul>
|
175
|
-
<li><code>node_name</code>:
|
176
|
-
User or client identity (i.e., <em>name</em>) to use for authenticating
|
177
|
-
requests to the Chef Server.</li>
|
178
|
-
<li><code>client_key</code>:
|
179
|
-
Private key file to authenticate to the Chef server. Corresponds to the
|
180
|
-
<code>-k</code> or <code>--key</code> option.</li>
|
181
|
-
<li><code>chef_server_url</code>:
|
182
|
-
URL of the Chef server. Corresponds to the <code>-s</code> or <code>--server-url</code>
|
183
|
-
option. This is requested from the user when running this sub-command.</li>
|
184
|
-
<li><code>cache_type</code>:
|
185
|
-
The type of cache to use. Default is BasicFile. This can be any type of
|
186
|
-
Cache that moneta supports: BasicFile, Berkeley, Couch, DataMapper,
|
187
|
-
File, LMC, Memcache, Memory, MongoDB, Redis, Rufus, S3, SDBM, Tyrant,
|
188
|
-
Xattr, YAML.</li>
|
189
|
-
<li><code>cache_options</code>:
|
190
|
-
Specifies various options to use for caching. These options are
|
191
|
-
dependent on the <code>cache_type</code>.</li>
|
192
|
-
<li><code>validation_client_name</code>:
|
193
|
-
Specifies the name of the client used to validate new clients.</li>
|
194
|
-
<li><code>validation_key</code>:
|
195
|
-
Specifies the private key file to use when bootstrapping new hosts.
|
196
|
-
See <span class="man-ref">knife-client<span class="s">(1)</span></span> for more information about the validation
|
197
|
-
client.</li>
|
198
|
-
<li><code>cookbook_copyright</code>, <code>cookbook_email</code>, <code>cookbook_license</code>, <code>readme_format</code>
|
199
|
-
Used by <code>knife cookbook create</code> sub-command to specify the copyright
|
200
|
-
holder, maintainer email, license and readme format (respectively) for new cookbooks.
|
201
|
-
The copyright holder is listed as the maintainer in the cookbook's
|
202
|
-
metadata and as the Copyright in the comments of the default recipe. The
|
203
|
-
maintainer email is used in the cookbook metadata. The license
|
204
|
-
determines what preamble to put in the comment of the default recipe,
|
205
|
-
and is listed as the license in the cookbook metadata. Currently
|
206
|
-
supported licenses are "apachev2" and "none". Any other values will
|
207
|
-
result in an empty license in the metadata (needs to be filled in by the
|
208
|
-
author), and no comment preamble in the default recipe. Currently supported
|
209
|
-
readme formats are "md", "mkd", "txt", and "rdoc". Any other value will
|
210
|
-
result in an unformatted README.</li>
|
211
|
-
</ul>
|
212
|
-
|
213
|
-
|
214
|
-
<h2 id="FILES">FILES</h2>
|
215
|
-
|
216
|
-
<p><em>~/.chef/knife.rb</em></p>
|
217
|
-
|
218
|
-
<p>Ruby DSL configuration file for knife. See <strong>CONFIGURATION</strong>.</p>
|
219
|
-
|
220
|
-
<h2 id="FORMATS">FORMATS</h2>
|
221
|
-
|
222
|
-
<p>The amount of content displayed and the output format are
|
223
|
-
modified by the <code>--format</code> option. If no alternate format is selected,
|
224
|
-
the default is summary.</p>
|
225
|
-
|
226
|
-
<p>Valid formats are:</p>
|
227
|
-
|
228
|
-
<dl>
|
229
|
-
<dt class="flush"><code>summary</code></dt><dd>displays the node in a custom, summarized format (default)</dd>
|
230
|
-
<dt class="flush"><code>text</code></dt><dd>displays the node data in its entirety using the colorized tree display</dd>
|
231
|
-
<dt class="flush"><code>json</code></dt><dd>displays the node in JSON format</dd>
|
232
|
-
<dt class="flush"><code>yaml</code></dt><dd>displays the node in YAML format</dd>
|
233
|
-
<dt class="flush"><code>pp</code></dt><dd>displays the node using Ruby's pretty printer.</dd>
|
234
|
-
</dl>
|
235
|
-
|
236
|
-
|
237
|
-
<p>For brevity, only the first character of the format is required, for
|
238
|
-
example, -Fj will produce JSON format output.</p>
|
239
|
-
|
240
|
-
<h2 id="CHEF-WORKFLOW">CHEF WORKFLOW</h2>
|
241
|
-
|
242
|
-
<p>When working with Chef and Knife in the local repository, the recommended workflow outline looks like:</p>
|
243
|
-
|
244
|
-
<ul>
|
245
|
-
<li>Create repository. A skeleton sample is provided at <em>http://github.com/opscode/chef-repo/</em>.</li>
|
246
|
-
<li>Configure knife, see <strong>CONFIGURATION</strong>.</li>
|
247
|
-
<li>Download cookbooks from the Opscode cookbooks site, see <strong>COOKBOOK SITE SUB-COMMANDS</strong>.</li>
|
248
|
-
<li>Or, create new cookbooks, see <code>cookbook create</code> sub-command.</li>
|
249
|
-
<li>Commit changes to the version control system. See your tool's documentation.</li>
|
250
|
-
<li>Upload cookbooks to the Chef Server, see <strong>COOKBOOK SUB-COMMANDS</strong>.</li>
|
251
|
-
<li>Launch instances in the Cloud, OR provision new hosts; see <strong>CLOUD COMPUTING SUB-COMMANDS</strong> and <strong>BOOTSTRAP SUB-COMMANDS</strong>.</li>
|
252
|
-
<li>Watch Chef configure systems!</li>
|
253
|
-
</ul>
|
254
|
-
|
255
|
-
|
256
|
-
<p>A note about git: Opscode and many folks in the Chef community use git,
|
257
|
-
but it is not required, except in the case of the <code>cookbook site vendor</code>
|
258
|
-
sub-command, as it uses git directly. Version control is strongly
|
259
|
-
recommended though, and git fits with a lot of the workflow paradigms.</p>
|
260
|
-
|
261
|
-
<h2 id="EXAMPLES">EXAMPLES</h2>
|
262
|
-
|
263
|
-
<h2 id="ENVIRONMENT">ENVIRONMENT</h2>
|
264
|
-
|
265
|
-
<dl>
|
266
|
-
<dt class="flush"><code>EDITOR</code></dt><dd>The text editor to use for editing data. The --editor option takes
|
267
|
-
precedence over this value, and the --disable-editing option supresses
|
268
|
-
data editing entirely.</dd>
|
269
|
-
</dl>
|
270
|
-
|
271
|
-
|
272
|
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
273
|
-
|
274
|
-
<p> <strong><span class="man-ref">chef-client<span class="s">(8)</span></span></strong> <strong><span class="man-ref">chef-server<span class="s">(8)</span></span></strong> <strong><span class="man-ref">shef<span class="s">(1)</span></span></strong></p>
|
275
|
-
|
276
|
-
<p> <strong><span class="man-ref">knife-bootstrap<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-client<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-configure<span class="s">(1)</span></span></strong>
|
277
|
-
<strong><span class="man-ref">knife-cookbook-site<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-cookbook<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-data-bag<span class="s">(1)</span></span></strong>
|
278
|
-
<strong><span class="man-ref">knife-environment<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-exec<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-index<span class="s">(1)</span></span></strong>
|
279
|
-
<strong><span class="man-ref">knife-node<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-recipe<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-role<span class="s">(1)</span></span></strong>
|
280
|
-
<strong><span class="man-ref">knife-search<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-ssh<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-tag<span class="s">(1)</span></span></strong></p>
|
281
|
-
|
282
|
-
<p> Complete Chef documentation is available online: <a href="http://wiki.opscode.com/display/chef/Home/" data-bare-link="true">http://wiki.opscode.com/display/chef/Home/</a></p>
|
283
|
-
|
284
|
-
<p> JSON is JavaScript Object Notation <a href="http://json.org/" data-bare-link="true">http://json.org/</a></p>
|
285
|
-
|
286
|
-
<p> SOLR is an open source search engine. <a href="http://lucene.apache.org/solr/" data-bare-link="true">http://lucene.apache.org/solr/</a></p>
|
287
|
-
|
288
|
-
<p> <strong><span class="man-ref">git<span class="s">(1)</span></span></strong> is a version control system <a href="http://git-scm.com/" data-bare-link="true">http://git-scm.com/</a></p>
|
289
|
-
|
290
|
-
<p> This manual page was generated from Markdown with <strong><span class="man-ref">ronn<span class="s">(1)</span></span></strong> <a href="http://rtomayko.github.com/ronn/ronn.1.html" data-bare-link="true">http://rtomayko.github.com/ronn/ronn.1.html</a></p>
|
291
|
-
|
292
|
-
<h2 id="AUTHOR">AUTHOR</h2>
|
293
|
-
|
294
|
-
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> of Opscode
|
295
|
-
(<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
|
296
|
-
|
297
|
-
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
298
|
-
|
299
|
-
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.</p>
|
300
|
-
|
301
|
-
<h2 id="LICENSE">LICENSE</h2>
|
302
|
-
|
303
|
-
<p> Both Chef and this documentation are released under the terms of the
|
304
|
-
Apache 2.0 License. You may view the license online: <a href="http://www.apache.org/licenses/LICENSE-2.0.html" data-bare-link="true">http://www.apache.org/licenses/LICENSE-2.0.html</a>
|
305
|
-
On some systems, the complete text of the Apache 2.0 License may be found in <code>/usr/share/common-licenses/Apache-2.0</code>.</p>
|
306
|
-
|
307
|
-
<h2 id="CHEF">CHEF</h2>
|
308
|
-
|
309
|
-
<p> Knife is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home" data-bare-link="true">http://wiki.opscode.com/display/chef/Home</a></p>
|
310
|
-
|
311
|
-
|
312
|
-
<ol class='man-decor man-foot man foot'>
|
313
|
-
<li class='tl'>Chef 10.16.0.rc.1</li>
|
314
|
-
<li class='tc'>October 2012</li>
|
315
|
-
<li class='tr'>knife(1)</li>
|
316
|
-
</ol>
|
317
|
-
|
318
|
-
</div>
|
319
|
-
</body>
|
320
|
-
</html>
|