chef 0.10.0.beta.7 → 0.10.0.beta.8
Sign up to get free protection for your applications and to get access to all the features.
- data/distro/common/html/knife-bootstrap.1.html +182 -0
- data/distro/common/html/knife-client.1.html +216 -0
- data/distro/common/html/knife-configure.1.html +170 -0
- data/distro/common/html/knife-cookbook-site.1.html +166 -0
- data/distro/common/html/knife-cookbook.1.html +233 -0
- data/distro/common/html/knife-data-bag.1.html +234 -0
- data/distro/common/html/knife-environment.1.html +93 -0
- data/distro/common/html/knife-exec.1.html +93 -0
- data/distro/common/html/knife-index.1.html +125 -0
- data/distro/common/html/knife-node.1.html +268 -0
- data/distro/common/html/knife-recipe.1.html +92 -0
- data/distro/common/html/knife-role.1.html +136 -0
- data/distro/common/html/knife-search.1.html +102 -0
- data/distro/common/html/knife-ssh.1.html +101 -0
- data/distro/common/html/knife-status.1.html +97 -0
- data/distro/common/html/knife-tag.1.html +93 -0
- data/distro/common/html/knife.1.html +362 -0
- data/distro/common/man/man1/knife-bootstrap.1 +137 -0
- data/distro/common/man/man1/knife-client.1 +98 -0
- data/distro/common/man/man1/knife-configure.1 +88 -0
- data/distro/common/man/man1/knife-cookbook-site.1 +91 -0
- data/distro/common/man/man1/knife-cookbook.1 +242 -0
- data/distro/common/man/man1/knife-data-bag.1 +130 -0
- data/distro/common/man/man1/knife-environment.1 +13 -0
- data/distro/common/man/man1/knife-exec.1 +13 -0
- data/distro/common/man/man1/knife-index.1 +29 -0
- data/distro/common/man/man1/knife-node.1 +153 -0
- data/distro/common/man/man1/knife-recipe.1 +13 -0
- data/distro/common/man/man1/knife-role.1 +64 -0
- data/distro/common/man/man1/knife-search.1 +37 -0
- data/distro/common/man/man1/knife-ssh.1 +33 -0
- data/distro/common/man/man1/knife-status.1 +17 -0
- data/distro/common/man/man1/knife-tag.1 +13 -0
- data/distro/common/man/man1/knife.1 +346 -0
- data/distro/common/man/{man8/shef.8 → man1/shef.1} +0 -0
- data/distro/common/man/{man1/chef-server-webui.1 → man8/chef-server-webui.8} +0 -0
- data/distro/common/man/{man1/chef-server.1 → man8/chef-server.8} +0 -0
- data/distro/common/man/{man1/chef-solr.1 → man8/chef-solr.8} +0 -0
- data/distro/common/markdown/man1/knife-bootstrap.mkd +88 -0
- data/distro/common/markdown/man1/knife-client.mkd +101 -0
- data/distro/common/markdown/man1/knife-configure.mkd +70 -0
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +69 -0
- data/distro/common/markdown/man1/knife-cookbook.mkd +136 -0
- data/distro/common/markdown/man1/knife-data-bag.mkd +117 -0
- data/distro/common/markdown/man1/knife-environment.mkd +8 -0
- data/distro/common/markdown/man1/knife-exec.mkd +9 -0
- data/distro/common/markdown/man1/knife-index.mkd +30 -0
- data/distro/common/markdown/man1/knife-node.mkd +147 -0
- data/distro/common/markdown/man1/knife-recipe.mkd +24 -0
- data/distro/common/markdown/man1/knife-role.mkd +79 -0
- data/distro/common/markdown/man1/knife-search.mkd +56 -0
- data/distro/common/markdown/man1/knife-ssh.mkd +64 -0
- data/distro/common/markdown/man1/knife-status.mkd +38 -0
- data/distro/common/markdown/man1/knife-tag.mkd +8 -0
- data/distro/common/markdown/man1/knife.mkd +261 -0
- data/lib/chef/cookbook/metadata.rb +76 -40
- data/lib/chef/cookbook_version.rb +86 -2
- data/lib/chef/cookbook_version_selector.rb +7 -2
- data/lib/chef/environment.rb +41 -0
- data/lib/chef/knife/configure.rb +4 -0
- data/lib/chef/knife/cookbook_upload.rb +4 -1
- data/lib/chef/knife/help.rb +98 -0
- data/lib/chef/rest.rb +1 -0
- data/lib/chef/version.rb +1 -1
- metadata +58 -11
- data/distro/common/man/man1/chef-indexer.1 +0 -42
- data/distro/common/man/man1/chef-solr-indexer.1 +0 -55
- data/distro/common/man/man8/chef-solr-rebuild.8 +0 -37
- data/distro/common/man/man8/knife.8 +0 -1349
- data/distro/common/markdown/knife.mkd +0 -865
@@ -0,0 +1,93 @@
|
|
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-environment(1) - Define cookbook policies for the environments 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="#ENVIRONMENT-SUBCOMMANDS">ENVIRONMENT SUBCOMMANDS</a>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<ol class='man-decor man-head man head'>
|
68
|
+
<li class='tl'>knife-environment(1)</li>
|
69
|
+
<li class='tc'>Chef Manual</li>
|
70
|
+
<li class='tr'>knife-environment(1)</li>
|
71
|
+
</ol>
|
72
|
+
|
73
|
+
<h2 id="NAME">NAME</h2>
|
74
|
+
<p class="man-name">
|
75
|
+
<code>knife-environment</code> - <span class="man-whatis">Define cookbook policies for the environments in your infrastructure</span>
|
76
|
+
</p>
|
77
|
+
|
78
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
79
|
+
|
80
|
+
<p><strong>knife</strong> <strong>environment</strong> <em>sub-command</em> <em>(options)</em></p>
|
81
|
+
|
82
|
+
<h2 id="ENVIRONMENT-SUBCOMMANDS">ENVIRONMENT SUBCOMMANDS</h2>
|
83
|
+
|
84
|
+
|
85
|
+
<ol class='man-decor man-foot man foot'>
|
86
|
+
<li class='tl'>Chef 0.10.0.beta.8</li>
|
87
|
+
<li class='tc'>April 2011</li>
|
88
|
+
<li class='tr'>knife-environment(1)</li>
|
89
|
+
</ol>
|
90
|
+
|
91
|
+
</div>
|
92
|
+
</body>
|
93
|
+
</html>
|
@@ -0,0 +1,93 @@
|
|
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-exec(1) - Run user scripts using the Chef API DSL</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="#EXEC-SUBCOMMAND">EXEC SUBCOMMAND</a>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<ol class='man-decor man-head man head'>
|
68
|
+
<li class='tl'>knife-exec(1)</li>
|
69
|
+
<li class='tc'>Chef Manual</li>
|
70
|
+
<li class='tr'>knife-exec(1)</li>
|
71
|
+
</ol>
|
72
|
+
|
73
|
+
<h2 id="NAME">NAME</h2>
|
74
|
+
<p class="man-name">
|
75
|
+
<code>knife-exec</code> - <span class="man-whatis">Run user scripts using the Chef API DSL</span>
|
76
|
+
</p>
|
77
|
+
|
78
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
79
|
+
|
80
|
+
<p><strong>knife</strong> <strong>exec</strong> <em>(options)</em></p>
|
81
|
+
|
82
|
+
<h2 id="EXEC-SUBCOMMAND">EXEC SUBCOMMAND</h2>
|
83
|
+
|
84
|
+
|
85
|
+
<ol class='man-decor man-foot man foot'>
|
86
|
+
<li class='tl'>Chef 0.10.0.beta.8</li>
|
87
|
+
<li class='tc'>April 2011</li>
|
88
|
+
<li class='tr'>knife-exec(1)</li>
|
89
|
+
</ol>
|
90
|
+
|
91
|
+
</div>
|
92
|
+
</body>
|
93
|
+
</html>
|
@@ -0,0 +1,125 @@
|
|
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-index(1) - Rebuild the search index 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="#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-index(1)</li>
|
73
|
+
<li class='tc'>Chef Manual</li>
|
74
|
+
<li class='tr'>knife-index(1)</li>
|
75
|
+
</ol>
|
76
|
+
|
77
|
+
<h2 id="NAME">NAME</h2>
|
78
|
+
<p class="man-name">
|
79
|
+
<code>knife-index</code> - <span class="man-whatis">Rebuild the search index on a Chef Server</span>
|
80
|
+
</p>
|
81
|
+
|
82
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
83
|
+
|
84
|
+
<p><strong>knife</strong> <strong>index rebuild</strong> <em>(options)</em></p>
|
85
|
+
|
86
|
+
<dl>
|
87
|
+
<dt><code>-y</code>, <code>--yes</code></dt><dd>don't bother to ask if I'm sure</dd>
|
88
|
+
</dl>
|
89
|
+
|
90
|
+
|
91
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
92
|
+
|
93
|
+
<p>Rebuilds all the search indexes on the server. This is accomplished by
|
94
|
+
deleting all objects from the search index, and then forwarding each
|
95
|
+
item in the database to <strong>chef-expander</strong>(8) via <strong>rabbitmq-server</strong>(1).
|
96
|
+
Depending on the number of objects in the database, it may take some
|
97
|
+
time for all objects to be indexed and available for search.</p>
|
98
|
+
|
99
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
100
|
+
|
101
|
+
<p> <strong>knife-search</strong>(1)</p>
|
102
|
+
|
103
|
+
<h2 id="AUTHOR">AUTHOR</h2>
|
104
|
+
|
105
|
+
<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>
|
106
|
+
|
107
|
+
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
108
|
+
|
109
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
110
|
+
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
111
|
+
|
112
|
+
<h2 id="CHEF">CHEF</h2>
|
113
|
+
|
114
|
+
<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>
|
115
|
+
|
116
|
+
|
117
|
+
<ol class='man-decor man-foot man foot'>
|
118
|
+
<li class='tl'>Chef 0.10.0.beta.8</li>
|
119
|
+
<li class='tc'>April 2011</li>
|
120
|
+
<li class='tr'>knife-index(1)</li>
|
121
|
+
</ol>
|
122
|
+
|
123
|
+
</div>
|
124
|
+
</body>
|
125
|
+
</html>
|
@@ -0,0 +1,268 @@
|
|
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-node(1) - Manage the hosts 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="#NODE-SUB-COMMANDS">NODE SUB-COMMANDS</a>
|
66
|
+
<a href="#BULK-DELETE">BULK DELETE</a>
|
67
|
+
<a href="#CREATE">CREATE</a>
|
68
|
+
<a href="#DELETE">DELETE</a>
|
69
|
+
<a href="#EDIT">EDIT</a>
|
70
|
+
<a href="#FROM-FILE">FROM FILE</a>
|
71
|
+
<a href="#LIST">LIST</a>
|
72
|
+
<a href="#RUN_LIST-ADD">RUN_LIST ADD</a>
|
73
|
+
<a href="#RUN_LIST-REMOVE">RUN_LIST REMOVE</a>
|
74
|
+
<a href="#SHOW">SHOW</a>
|
75
|
+
<a href="#RUN-LIST-ITEM-FORMAT">RUN LIST ITEM FORMAT</a>
|
76
|
+
<a href="#SEE-ALSO">SEE ALSO</a>
|
77
|
+
<a href="#AUTHOR">AUTHOR</a>
|
78
|
+
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
79
|
+
<a href="#CHEF">CHEF</a>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<ol class='man-decor man-head man head'>
|
83
|
+
<li class='tl'>knife-node(1)</li>
|
84
|
+
<li class='tc'>Chef Manual</li>
|
85
|
+
<li class='tr'>knife-node(1)</li>
|
86
|
+
</ol>
|
87
|
+
|
88
|
+
<h2 id="NAME">NAME</h2>
|
89
|
+
<p class="man-name">
|
90
|
+
<code>knife-node</code> - <span class="man-whatis">Manage the hosts in your infrastructure</span>
|
91
|
+
</p>
|
92
|
+
|
93
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
94
|
+
|
95
|
+
<p><strong>knife</strong> <strong>node</strong> <em>sub-command</em> <em>(options)</em></p>
|
96
|
+
|
97
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
98
|
+
|
99
|
+
<p>Nodes are data structures that represent hosts configured with Chef.
|
100
|
+
Nodes have a <strong>name</strong>, a String that uniquely identifies the node,
|
101
|
+
<strong>attributes</strong>, a nested Hash of properties that describe how the host
|
102
|
+
should be configured, a <strong>chef_environment</strong>, a String representing the
|
103
|
+
environment to which the node belongs, and a <strong>run_list</strong>, an ordered
|
104
|
+
list of <strong>recipes</strong> or <strong>roles</strong> that chef-client should apply when
|
105
|
+
configuring a host.</p>
|
106
|
+
|
107
|
+
<p>When a host communicates with a Chef Server, it authenticates using its
|
108
|
+
<strong>node_name</strong> for identification and signs its reqests with a private
|
109
|
+
key. The Server validates the request by looking up a <strong>client</strong> object
|
110
|
+
with a name identical to the <strong>node_name</strong> submitted with the request
|
111
|
+
and verifes the signature using the public key for that <strong>client</strong>
|
112
|
+
object. <strong>NOTE</strong> that the <strong>client</strong> is a different object in the
|
113
|
+
system. It is associated with a node by virtue of having a matching
|
114
|
+
name.</p>
|
115
|
+
|
116
|
+
<p>By default <strong>chef-client</strong>(8) will create a node using the FQDN of the
|
117
|
+
host for the node name, though this may be overridden by configuration
|
118
|
+
settings.</p>
|
119
|
+
|
120
|
+
<h2 id="NODE-SUB-COMMANDS">NODE SUB-COMMANDS</h2>
|
121
|
+
|
122
|
+
<h2 id="BULK-DELETE">BULK DELETE</h2>
|
123
|
+
|
124
|
+
<p><strong>knife node bulk delete</strong> <em>regex</em> <em>(options)</em></p>
|
125
|
+
|
126
|
+
<p>Deletes nodes for which the name matches the regular expression <em>regex</em>
|
127
|
+
on the Chef Server. The regular expression should be given in quotes,
|
128
|
+
and should not be surrounded with forward slashes (as is typical of
|
129
|
+
regular expression literals in scripting languages).</p>
|
130
|
+
|
131
|
+
<h2 id="CREATE">CREATE</h2>
|
132
|
+
|
133
|
+
<p><strong>knife node create</strong> <em>name</em> <em>(options)</em></p>
|
134
|
+
|
135
|
+
<p>Create a new node. Unless the --no-editor option is given, an empty node
|
136
|
+
object will be created and displayed in your text editor. If the editor
|
137
|
+
exits with a successful exit status, the node data will be posted to the
|
138
|
+
Chef Server to create the node.</p>
|
139
|
+
|
140
|
+
<h2 id="DELETE">DELETE</h2>
|
141
|
+
|
142
|
+
<p><strong>knife node delete</strong> <em>name</em> <em>(options)</em></p>
|
143
|
+
|
144
|
+
<p>Deletes the node identified by <em>name</em> on the Chef Server.</p>
|
145
|
+
|
146
|
+
<h2 id="EDIT">EDIT</h2>
|
147
|
+
|
148
|
+
<p><strong>knife node edit</strong> <em>name</em> <em>(options)</em></p>
|
149
|
+
|
150
|
+
<dl>
|
151
|
+
<dt><code>-a</code>, <code>--all</code></dt><dd>Display all node data in the editor. By default, default, override,
|
152
|
+
and automatic attributes are not shown.</dd>
|
153
|
+
</dl>
|
154
|
+
|
155
|
+
|
156
|
+
<p>Edit the node identified by <em>name</em>. Like <strong>knife node create</strong>, the node
|
157
|
+
will be displayed in your text editor unless the -n option is present.</p>
|
158
|
+
|
159
|
+
<h2 id="FROM-FILE">FROM FILE</h2>
|
160
|
+
|
161
|
+
<p><strong>knife node from file</strong> <em>file</em> <em>(options)</em></p>
|
162
|
+
|
163
|
+
<p>Create a node from a JSON format <em>file</em>.</p>
|
164
|
+
|
165
|
+
<h2 id="LIST">LIST</h2>
|
166
|
+
|
167
|
+
<p><strong>knife node list</strong> <em>(options)</em></p>
|
168
|
+
|
169
|
+
<dl>
|
170
|
+
<dt><code>-w</code>, <code>--with-uri</code></dt><dd>Show corresponding URIs</dd>
|
171
|
+
</dl>
|
172
|
+
|
173
|
+
|
174
|
+
<p>List all nodes.</p>
|
175
|
+
|
176
|
+
<h2 id="RUN_LIST-ADD">RUN_LIST ADD</h2>
|
177
|
+
|
178
|
+
<p><strong>knife node run_list add</strong> <em>name</em> <em>run list item</em> <em>(options)</em></p>
|
179
|
+
|
180
|
+
<dl>
|
181
|
+
<dt><code>-a</code>, <code>--after ITEM</code></dt><dd>Place the ENTRY in the run list after ITEM</dd>
|
182
|
+
</dl>
|
183
|
+
|
184
|
+
|
185
|
+
<p>Add the <em>run list item</em> to the node's <code>run_list</code>. See Run list</p>
|
186
|
+
|
187
|
+
<h2 id="RUN_LIST-REMOVE">RUN_LIST REMOVE</h2>
|
188
|
+
|
189
|
+
<p><strong>knife node run_list remove</strong> <em>node name</em> <em>run list item</em> <em>(options)</em></p>
|
190
|
+
|
191
|
+
<p>Remove the <em>run list item</em> from the node's <code>run_list</code>.</p>
|
192
|
+
|
193
|
+
<h2 id="SHOW">SHOW</h2>
|
194
|
+
|
195
|
+
<p><strong>knife node show</strong> <em>node name</em> <em>(options)</em></p>
|
196
|
+
|
197
|
+
<dl>
|
198
|
+
<dt><code>-a</code>, <code>--attribute [ATTR]</code></dt><dd>Show only one attribute</dd>
|
199
|
+
<dt><code>-r</code>, <code>--run-list </code></dt><dd>Show only the run list</dd>
|
200
|
+
<dt><code>-F</code>, <code>--format FORMAT</code></dt><dd>Display the node in a different format.</dd>
|
201
|
+
<dt><code>-m</code>, <code>--medium</code></dt><dd>Display more, but not all, of the node's data when using the default
|
202
|
+
<em>summary</em> format</dd>
|
203
|
+
</dl>
|
204
|
+
|
205
|
+
|
206
|
+
<p>Displays the node identified by <em>node name</em> on stdout. The amount of
|
207
|
+
content displayed and the output format are modified by the --format
|
208
|
+
option. Valid formats are:</p>
|
209
|
+
|
210
|
+
<ul>
|
211
|
+
<li>summary:
|
212
|
+
displays the node in a custom, summarized format</li>
|
213
|
+
<li>text
|
214
|
+
displays the node data in its entirety using the colorized tree
|
215
|
+
display</li>
|
216
|
+
<li>json:
|
217
|
+
displays the node in JSON format</li>
|
218
|
+
<li>yaml:
|
219
|
+
displays the node in YAML format</li>
|
220
|
+
<li>pp
|
221
|
+
displays the node using Ruby's pretty printer.</li>
|
222
|
+
</ul>
|
223
|
+
|
224
|
+
|
225
|
+
<p>For brevity, only the first character of the format is required, for
|
226
|
+
example, -Fj will produce JSON format output.</p>
|
227
|
+
|
228
|
+
<h2 id="RUN-LIST-ITEM-FORMAT">RUN LIST ITEM FORMAT</h2>
|
229
|
+
|
230
|
+
<p>Run list items may be either roles or recipes. When adding a role to a
|
231
|
+
run list, the correct syntax is "role[ROLE_NAME]"</p>
|
232
|
+
|
233
|
+
<p>When adding a recipe to a run list, there are several valid formats:</p>
|
234
|
+
|
235
|
+
<dl>
|
236
|
+
<dt>Fully Qualified Format</dt><dd>"recipe[COOKBOOK::RECIPE_NAME]", for example, "recipe[chef::client]"</dd>
|
237
|
+
<dt>Cookbook Recipe Format</dt><dd>For brevity, the recipe part of the fully qualified format may be omitted, and recipes specified as "COOKBOOK::RECIPE_NAME", e.g., "chef::client"</dd>
|
238
|
+
<dt>Default Recipe Format</dt><dd>When adding the default recipe of a cookbook to a run list, the recipe name may be omitted as well, e.g., "chef::default" may be written as just "chef"</dd>
|
239
|
+
</dl>
|
240
|
+
|
241
|
+
|
242
|
+
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
243
|
+
|
244
|
+
<p> <strong>knife-client</strong>(1) <strong>knife-search</strong>(1) <strong>knife-role</strong>(1)</p>
|
245
|
+
|
246
|
+
<h2 id="AUTHOR">AUTHOR</h2>
|
247
|
+
|
248
|
+
<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>
|
249
|
+
|
250
|
+
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
251
|
+
|
252
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
253
|
+
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
254
|
+
|
255
|
+
<h2 id="CHEF">CHEF</h2>
|
256
|
+
|
257
|
+
<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>
|
258
|
+
|
259
|
+
|
260
|
+
<ol class='man-decor man-foot man foot'>
|
261
|
+
<li class='tl'>Chef 0.10.0.beta.8</li>
|
262
|
+
<li class='tc'>April 2011</li>
|
263
|
+
<li class='tr'>knife-node(1)</li>
|
264
|
+
</ol>
|
265
|
+
|
266
|
+
</div>
|
267
|
+
</body>
|
268
|
+
</html>
|