chef 13.11.3-universal-mingw32 → 13.12.3-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -3
- data/README.md +35 -40
- data/Rakefile +18 -22
- data/chef-universal-mingw32.gemspec +1 -1
- data/chef.gemspec +3 -3
- data/lib/chef/client.rb +1 -1
- data/lib/chef/mixin/params_validate.rb +3 -1
- data/lib/chef/provider/script.rb +2 -2
- data/lib/chef/version.rb +1 -1
- data/spec/functional/http/simple_spec.rb +12 -6
- data/spec/functional/resource/remote_file_spec.rb +19 -15
- data/spec/support/platform_helpers.rb +2 -1
- data/tasks/announce.rb +1 -1
- data/tasks/dependencies.rb +5 -39
- data/tasks/maintainers.rb +10 -10
- data/tasks/rspec.rb +2 -2
- data/tasks/templates/prerelease.md.erb +11 -2
- data/tasks/templates/release.md.erb +9 -1
- metadata +6 -247
- data/CONTRIBUTING.md +0 -151
- data/VERSION +0 -1
- data/acceptance/.gitignore +0 -3
- data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
- data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
- data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
- data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
- data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
- data/acceptance/Gemfile +0 -19
- data/acceptance/Gemfile.lock +0 -266
- data/acceptance/README.md +0 -137
- data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/basics/.kitchen.yml +0 -4
- data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
- data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
- data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
- data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
- data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
- data/acceptance/data-collector/.kitchen.yml +0 -9
- data/acceptance/data-collector/Berksfile +0 -3
- data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
- data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/top-cookbooks/.gitignore +0 -1
- data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
- data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
- data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
- data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
- data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/trivial/.kitchen.yml +0 -7
- data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/windows-service/.kitchen.yml +0 -7
- data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
- data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
- data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
- data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
- data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
- data/distro/common/html/_sources/index.txt +0 -135
- data/distro/common/html/_sources/knife.txt +0 -74
- data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
- data/distro/common/html/_sources/knife_client.txt +0 -151
- data/distro/common/html/_sources/knife_common_options.txt +0 -6
- data/distro/common/html/_sources/knife_configure.txt +0 -29
- data/distro/common/html/_sources/knife_cookbook.txt +0 -236
- data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
- data/distro/common/html/_sources/knife_data_bag.txt +0 -160
- data/distro/common/html/_sources/knife_delete.txt +0 -26
- data/distro/common/html/_sources/knife_deps.txt +0 -61
- data/distro/common/html/_sources/knife_diff.txt +0 -34
- data/distro/common/html/_sources/knife_download.txt +0 -44
- data/distro/common/html/_sources/knife_edit.txt +0 -26
- data/distro/common/html/_sources/knife_environment.txt +0 -158
- data/distro/common/html/_sources/knife_exec.txt +0 -47
- data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
- data/distro/common/html/_sources/knife_list.txt +0 -33
- data/distro/common/html/_sources/knife_node.txt +0 -250
- data/distro/common/html/_sources/knife_raw.txt +0 -35
- data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
- data/distro/common/html/_sources/knife_role.txt +0 -157
- data/distro/common/html/_sources/knife_search.txt +0 -53
- data/distro/common/html/_sources/knife_serve.txt +0 -19
- data/distro/common/html/_sources/knife_show.txt +0 -27
- data/distro/common/html/_sources/knife_ssh.txt +0 -43
- data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
- data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
- data/distro/common/html/_sources/knife_status.txt +0 -37
- data/distro/common/html/_sources/knife_tag.txt +0 -69
- data/distro/common/html/_sources/knife_upload.txt +0 -49
- data/distro/common/html/_sources/knife_user.txt +0 -127
- data/distro/common/html/_sources/knife_using.txt +0 -43
- data/distro/common/html/_sources/knife_xargs.txt +0 -30
- data/distro/common/html/_static/ajax-loader.gif +0 -0
- data/distro/common/html/_static/basic.css +0 -537
- data/distro/common/html/_static/chef.ico +0 -0
- data/distro/common/html/_static/chef_html_logo.png +0 -0
- data/distro/common/html/_static/comment-bright.png +0 -0
- data/distro/common/html/_static/comment-close.png +0 -0
- data/distro/common/html/_static/comment.png +0 -0
- data/distro/common/html/_static/contents.png +0 -0
- data/distro/common/html/_static/doctools.js +0 -238
- data/distro/common/html/_static/down-pressed.png +0 -0
- data/distro/common/html/_static/down.png +0 -0
- data/distro/common/html/_static/file.png +0 -0
- data/distro/common/html/_static/guide.css +0 -505
- data/distro/common/html/_static/jquery.js +0 -2
- data/distro/common/html/_static/minus.png +0 -0
- data/distro/common/html/_static/navigation.png +0 -0
- data/distro/common/html/_static/plus.png +0 -0
- data/distro/common/html/_static/pygments.css +0 -62
- data/distro/common/html/_static/searchtools.js +0 -622
- data/distro/common/html/_static/underscore.js +0 -31
- data/distro/common/html/_static/up-pressed.png +0 -0
- data/distro/common/html/_static/up.png +0 -0
- data/distro/common/html/_static/websupport.js +0 -808
- data/distro/common/html/ctl_chef_client.html +0 -270
- data/distro/common/html/ctl_chef_server.html +0 -728
- data/distro/common/html/ctl_chef_shell.html +0 -163
- data/distro/common/html/ctl_chef_solo.html +0 -194
- data/distro/common/html/index.html +0 -202
- data/distro/common/html/knife.html +0 -170
- data/distro/common/html/knife_bootstrap.html +0 -285
- data/distro/common/html/knife_client.html +0 -285
- data/distro/common/html/knife_common_options.html +0 -96
- data/distro/common/html/knife_configure.html +0 -105
- data/distro/common/html/knife_cookbook.html +0 -487
- data/distro/common/html/knife_cookbook_site.html +0 -375
- data/distro/common/html/knife_data_bag.html +0 -374
- data/distro/common/html/knife_delete.html +0 -93
- data/distro/common/html/knife_deps.html +0 -143
- data/distro/common/html/knife_diff.html +0 -123
- data/distro/common/html/knife_download.html +0 -145
- data/distro/common/html/knife_edit.html +0 -89
- data/distro/common/html/knife_environment.html +0 -322
- data/distro/common/html/knife_exec.html +0 -220
- data/distro/common/html/knife_index_rebuild.html +0 -83
- data/distro/common/html/knife_list.html +0 -114
- data/distro/common/html/knife_node.html +0 -458
- data/distro/common/html/knife_raw.html +0 -110
- data/distro/common/html/knife_recipe_list.html +0 -91
- data/distro/common/html/knife_role.html +0 -295
- data/distro/common/html/knife_search.html +0 -203
- data/distro/common/html/knife_serve.html +0 -79
- data/distro/common/html/knife_show.html +0 -104
- data/distro/common/html/knife_ssh.html +0 -177
- data/distro/common/html/knife_ssl_check.html +0 -151
- data/distro/common/html/knife_ssl_fetch.html +0 -151
- data/distro/common/html/knife_status.html +0 -144
- data/distro/common/html/knife_tag.html +0 -138
- data/distro/common/html/knife_upload.html +0 -153
- data/distro/common/html/knife_user.html +0 -242
- data/distro/common/html/knife_using.html +0 -210
- data/distro/common/html/knife_xargs.html +0 -122
- data/distro/common/html/objects.inv +0 -0
- data/distro/common/html/search.html +0 -82
- data/distro/common/html/searchindex.js +0 -1
- data/distro/common/man/man1/README.md +0 -58
- data/distro/common/man/man1/chef-shell.1 +0 -194
- data/distro/common/man/man1/knife-bootstrap.1 +0 -215
- data/distro/common/man/man1/knife-client.1 +0 -443
- data/distro/common/man/man1/knife-configure.1 +0 -161
- data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
- data/distro/common/man/man1/knife-cookbook.1 +0 -770
- data/distro/common/man/man1/knife-data-bag.1 +0 -617
- data/distro/common/man/man1/knife-delete.1 +0 -127
- data/distro/common/man/man1/knife-deps.1 +0 -246
- data/distro/common/man/man1/knife-diff.1 +0 -226
- data/distro/common/man/man1/knife-download.1 +0 -258
- data/distro/common/man/man1/knife-edit.1 +0 -121
- data/distro/common/man/man1/knife-environment.1 +0 -496
- data/distro/common/man/man1/knife-exec.1 +0 -362
- data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
- data/distro/common/man/man1/knife-list.1 +0 -174
- data/distro/common/man/man1/knife-node.1 +0 -716
- data/distro/common/man/man1/knife-raw.1 +0 -172
- data/distro/common/man/man1/knife-recipe-list.1 +0 -85
- data/distro/common/man/man1/knife-role.1 +0 -426
- data/distro/common/man/man1/knife-search.1 +0 -359
- data/distro/common/man/man1/knife-serve.1 +0 -109
- data/distro/common/man/man1/knife-show.1 +0 -160
- data/distro/common/man/man1/knife-ssh.1 +0 -284
- data/distro/common/man/man1/knife-ssl-check.1 +0 -207
- data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
- data/distro/common/man/man1/knife-status.1 +0 -234
- data/distro/common/man/man1/knife-tag.1 +0 -189
- data/distro/common/man/man1/knife-upload.1 +0 -280
- data/distro/common/man/man1/knife-user.1 +0 -356
- data/distro/common/man/man1/knife-xargs.1 +0 -189
- data/distro/common/man/man1/knife.1 +0 -332
- data/distro/common/man/man8/chef-apply.8 +0 -86
- data/distro/common/man/man8/chef-client.8 +0 -398
- data/distro/common/man/man8/chef-solo.8 +0 -260
- data/distro/common/markdown/README +0 -3
- data/distro/common/markdown/man1/chef-shell.mkd +0 -195
- 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 -71
- 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 -42
- 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 -213
- data/distro/common/markdown/man8/chef-client.mkd +0 -75
- data/distro/common/markdown/man8/chef-expander.mkd +0 -81
- data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
- data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
- data/distro/common/markdown/man8/chef-server.mkd +0 -120
- data/distro/common/markdown/man8/chef-solo.mkd +0 -107
- data/distro/common/markdown/man8/chef-solr.mkd +0 -89
- data/tasks/cbgb.rb +0 -84
@@ -1,151 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
|
9
|
-
<title>knife ssl check — chef-client Man Pages</title>
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="_static/guide.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
13
|
-
|
14
|
-
<script type="text/javascript">
|
15
|
-
var DOCUMENTATION_OPTIONS = {
|
16
|
-
URL_ROOT: './',
|
17
|
-
VERSION: '',
|
18
|
-
COLLAPSE_INDEX: false,
|
19
|
-
FILE_SUFFIX: '.html',
|
20
|
-
HAS_SOURCE: true
|
21
|
-
};
|
22
|
-
</script>
|
23
|
-
<script type="text/javascript" src="_static/jquery.js"></script>
|
24
|
-
<script type="text/javascript" src="_static/underscore.js"></script>
|
25
|
-
<script type="text/javascript" src="_static/doctools.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px">
|
31
|
-
<a href="http://docs.getchef.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<div class="document">
|
38
|
-
<div class="documentwrapper">
|
39
|
-
|
40
|
-
<div class="body">
|
41
|
-
|
42
|
-
<div class="section" id="knife-ssl-check">
|
43
|
-
<h1>knife ssl check<a class="headerlink" href="#knife-ssl-check" title="Permalink to this headline">¶</a></h1>
|
44
|
-
<p>The <strong>knife ssl check</strong> subcommand is used to verify the SSL configuration for the Enterprise Chef and/or Open Source Chef servers, or at another location specified by a URL or URI.</p>
|
45
|
-
<div class="admonition warning">
|
46
|
-
<p class="first admonition-title">Warning</p>
|
47
|
-
<p class="last">When verification of a remote server’s SSL certificate is disabled, the chef-client will issue a warning similar to “SSL validation of HTTPS requests is disabled. HTTPS connections are still encrypted, but the chef-client is not able to detect forged replies or man-in-the-middle attacks.” To configure SSL for the chef-client, set <tt class="docutils literal"><span class="pre">ssl_verify_mode</span></tt> to <tt class="docutils literal"><span class="pre">:verify_peer</span></tt> (recommended) <strong>or</strong> <tt class="docutils literal"><span class="pre">verify_api_cert</span></tt> to <tt class="docutils literal"><span class="pre">true</span></tt> in the client.rb file.</p>
|
48
|
-
</div>
|
49
|
-
<p><strong>Syntax</strong></p>
|
50
|
-
<p>This subcommand has the following syntax:</p>
|
51
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl check URI
|
52
|
-
</pre></div>
|
53
|
-
</div>
|
54
|
-
<p><strong>Options</strong></p>
|
55
|
-
<p>This subcommand has the following options:</p>
|
56
|
-
<dl class="docutils">
|
57
|
-
<dt><tt class="docutils literal"><span class="pre">-a</span> <span class="pre">SSH_ATTR</span></tt>, <tt class="docutils literal"><span class="pre">--attribute</span> <span class="pre">SSH_ATTR</span></tt></dt>
|
58
|
-
<dd>The attribute that is used when opening the SSH connection. The default attribute is the FQDN of the host. Other possible values include a public IP address, a private IP address, or a hostname.</dd>
|
59
|
-
<dt><tt class="docutils literal"><span class="pre">-A</span></tt>, <tt class="docutils literal"><span class="pre">--forward-agent</span></tt></dt>
|
60
|
-
<dd>Use to enable SSH agent forwarding.</dd>
|
61
|
-
<dt><tt class="docutils literal"><span class="pre">-c</span> <span class="pre">CONFIG_FILE</span></tt>, <tt class="docutils literal"><span class="pre">--config</span> <span class="pre">CONFIG_FILE</span></tt></dt>
|
62
|
-
<dd>The configuration file to use.</dd>
|
63
|
-
<dt><tt class="docutils literal"><span class="pre">-C</span> <span class="pre">NUM</span></tt>, <tt class="docutils literal"><span class="pre">--concurrency</span> <span class="pre">NUM</span></tt></dt>
|
64
|
-
<dd>The number of allowed concurrent connections.</dd>
|
65
|
-
<dt><tt class="docutils literal"><span class="pre">--chef-zero-port</span> <span class="pre">PORT</span></tt></dt>
|
66
|
-
<dd>The port on which chef-zero will listen.</dd>
|
67
|
-
<dt><tt class="docutils literal"><span class="pre">--[no-]color</span></tt></dt>
|
68
|
-
<dd>Use to view colored output.</dd>
|
69
|
-
<dt><tt class="docutils literal"><span class="pre">-d</span></tt>, <tt class="docutils literal"><span class="pre">--disable-editing</span></tt></dt>
|
70
|
-
<dd>Use to prevent the $EDITOR from being opened and to accept data as-is.</dd>
|
71
|
-
<dt><tt class="docutils literal"><span class="pre">--defaults</span></tt></dt>
|
72
|
-
<dd>Use to have knife use the default value instead of asking a user to provide one.</dd>
|
73
|
-
<dt><tt class="docutils literal"><span class="pre">-e</span> <span class="pre">EDITOR</span></tt>, <tt class="docutils literal"><span class="pre">--editor</span> <span class="pre">EDITOR</span></tt></dt>
|
74
|
-
<dd>The $EDITOR that is used for all interactive commands.</dd>
|
75
|
-
<dt><tt class="docutils literal"><span class="pre">-E</span> <span class="pre">ENVIRONMENT</span></tt>, <tt class="docutils literal"><span class="pre">--environment</span> <span class="pre">ENVIRONMENT</span></tt></dt>
|
76
|
-
<dd>The name of the environment. When this option is added to a command, the command will run only against the named environment.</dd>
|
77
|
-
<dt><tt class="docutils literal"><span class="pre">-F</span> <span class="pre">FORMAT</span></tt>, <tt class="docutils literal"><span class="pre">--format</span> <span class="pre">FORMAT</span></tt></dt>
|
78
|
-
<dd>The output format: <tt class="docutils literal"><span class="pre">summary</span></tt> (default), <tt class="docutils literal"><span class="pre">text</span></tt>, <tt class="docutils literal"><span class="pre">json</span></tt>, <tt class="docutils literal"><span class="pre">yaml</span></tt>, and <tt class="docutils literal"><span class="pre">pp</span></tt>.</dd>
|
79
|
-
<dt><tt class="docutils literal"><span class="pre">-G</span> <span class="pre">GATEWAY</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-gateway</span> <span class="pre">GATEWAY</span></tt></dt>
|
80
|
-
<dd>The SSH tunnel or gateway that is used to run a bootstrap action on a machine that is not accessible from the workstation.</dd>
|
81
|
-
<dt><tt class="docutils literal"><span class="pre">-h</span></tt>, <tt class="docutils literal"><span class="pre">--help</span></tt></dt>
|
82
|
-
<dd>Shows help for the command.</dd>
|
83
|
-
<dt><tt class="docutils literal"><span class="pre">-i</span> <span class="pre">IDENTITY_FILE</span></tt>, <tt class="docutils literal"><span class="pre">--identity-file</span> <span class="pre">IDENTIFY_FILE</span></tt></dt>
|
84
|
-
<dd>The SSH identity file used for authentication. Key-based authentication is recommended.</dd>
|
85
|
-
<dt><tt class="docutils literal"><span class="pre">-k</span> <span class="pre">KEY</span></tt>, <tt class="docutils literal"><span class="pre">--key</span> <span class="pre">KEY</span></tt></dt>
|
86
|
-
<dd>The private key that knife will use to sign requests made by the API client to the Chef server.</dd>
|
87
|
-
<dt><tt class="docutils literal"><span class="pre">-m</span></tt>, <tt class="docutils literal"><span class="pre">--manual-list</span></tt></dt>
|
88
|
-
<dd>Use to define a search query as a space-separated list of servers. If there is more than one item in the list, put quotes around the entire list. For example: <tt class="docutils literal"><span class="pre">--manual-list</span> <span class="pre">"server01</span> <span class="pre">server</span> <span class="pre">02</span> <span class="pre">server</span> <span class="pre">03"</span></tt></dd>
|
89
|
-
<dt><tt class="docutils literal"><span class="pre">--[no-]host-key-verify</span></tt></dt>
|
90
|
-
<dd>Use <tt class="docutils literal"><span class="pre">--no-host-key-verify</span></tt> to disable host key verification. Default setting: <tt class="docutils literal"><span class="pre">--host-key-verify</span></tt>.</dd>
|
91
|
-
<dt><tt class="docutils literal"><span class="pre">OTHER</span></tt></dt>
|
92
|
-
<dd>The shell type. Possible values: <tt class="docutils literal"><span class="pre">interactive</span></tt>, <tt class="docutils literal"><span class="pre">screen</span></tt>, <tt class="docutils literal"><span class="pre">tmux</span></tt>, <tt class="docutils literal"><span class="pre">macterm</span></tt>, or <tt class="docutils literal"><span class="pre">cssh</span></tt>. (<tt class="docutils literal"><span class="pre">csshx</span></tt> is deprecated in favor of <tt class="docutils literal"><span class="pre">cssh</span></tt>.)</dd>
|
93
|
-
<dt><tt class="docutils literal"><span class="pre">-p</span> <span class="pre">PORT</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-port</span> <span class="pre">PORT</span></tt></dt>
|
94
|
-
<dd>The SSH port.</dd>
|
95
|
-
<dt><tt class="docutils literal"><span class="pre">-P</span> <span class="pre">PASSWORD</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-password</span> <span class="pre">PASSWORD</span></tt></dt>
|
96
|
-
<dd>The SSH password. This can be used to pass the password directly on the command line. If this option is not specified (and a password is required) knife will prompt for the password.</dd>
|
97
|
-
<dt><tt class="docutils literal"><span class="pre">--print-after</span></tt></dt>
|
98
|
-
<dd>Use to show data after a destructive operation.</dd>
|
99
|
-
<dt><tt class="docutils literal"><span class="pre">-s</span> <span class="pre">URL</span></tt>, <tt class="docutils literal"><span class="pre">--server-url</span> <span class="pre">URL</span></tt></dt>
|
100
|
-
<dd>The URL for the Chef server.</dd>
|
101
|
-
<dt><tt class="docutils literal"><span class="pre">SEARCH_QUERY</span></tt></dt>
|
102
|
-
<dd>The search query used to return a list of servers to be accessed using SSH and the specified <tt class="docutils literal"><span class="pre">SSH_COMMAND</span></tt>. This option uses the same syntax as the search sub-command.</dd>
|
103
|
-
<dt><tt class="docutils literal"><span class="pre">SSH_COMMAND</span></tt></dt>
|
104
|
-
<dd>The command that will be run against the results of a search query.</dd>
|
105
|
-
<dt><tt class="docutils literal"><span class="pre">-u</span> <span class="pre">USER</span></tt>, <tt class="docutils literal"><span class="pre">--user</span> <span class="pre">USER</span></tt></dt>
|
106
|
-
<dd>The user name used by knife to sign requests made by the API client to the Chef server. Authentication will fail if the user name does not match the private key.</dd>
|
107
|
-
<dt><tt class="docutils literal"><span class="pre">-v</span></tt>, <tt class="docutils literal"><span class="pre">--version</span></tt></dt>
|
108
|
-
<dd>The version of the chef-client.</dd>
|
109
|
-
<dt><tt class="docutils literal"><span class="pre">-V</span></tt>, <tt class="docutils literal"><span class="pre">--verbose</span></tt></dt>
|
110
|
-
<dd>Set for more verbose outputs. Use <tt class="docutils literal"><span class="pre">-VV</span></tt> for maximum verbosity.</dd>
|
111
|
-
<dt><tt class="docutils literal"><span class="pre">-x</span> <span class="pre">USER_NAME</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-user</span> <span class="pre">USER_NAME</span></tt></dt>
|
112
|
-
<dd>The SSH user name.</dd>
|
113
|
-
<dt><tt class="docutils literal"><span class="pre">-y</span></tt>, <tt class="docutils literal"><span class="pre">--yes</span></tt></dt>
|
114
|
-
<dd>Use to respond to all confirmation prompts with “Yes”. knife will not ask for confirmation.</dd>
|
115
|
-
<dt><tt class="docutils literal"><span class="pre">-z</span></tt>, <tt class="docutils literal"><span class="pre">--local-mode</span></tt></dt>
|
116
|
-
<dd>Use to run the chef-client in local mode. This allows all commands that work against the Chef server to also work against the local chef-repo.</dd>
|
117
|
-
</dl>
|
118
|
-
<p><strong>Examples</strong></p>
|
119
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
120
|
-
<p><strong>Verify the SSL configuration for the Chef server</strong></p>
|
121
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl check
|
122
|
-
</pre></div>
|
123
|
-
</div>
|
124
|
-
<p><strong>Verify the SSL configuration for the chef-client</strong></p>
|
125
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl check -c /etc/chef/client.rb
|
126
|
-
</pre></div>
|
127
|
-
</div>
|
128
|
-
<p><strong>Verify an external server’s SSL certificate</strong></p>
|
129
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl check URL_or_URI
|
130
|
-
</pre></div>
|
131
|
-
</div>
|
132
|
-
<p>for example:</p>
|
133
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl check https://www.getchef.com
|
134
|
-
</pre></div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
|
144
|
-
<div class="clearer"></div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
</body>
|
151
|
-
</html>
|
@@ -1,151 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
|
9
|
-
<title>knife ssl fetch — chef-client Man Pages</title>
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="_static/guide.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
13
|
-
|
14
|
-
<script type="text/javascript">
|
15
|
-
var DOCUMENTATION_OPTIONS = {
|
16
|
-
URL_ROOT: './',
|
17
|
-
VERSION: '',
|
18
|
-
COLLAPSE_INDEX: false,
|
19
|
-
FILE_SUFFIX: '.html',
|
20
|
-
HAS_SOURCE: true
|
21
|
-
};
|
22
|
-
</script>
|
23
|
-
<script type="text/javascript" src="_static/jquery.js"></script>
|
24
|
-
<script type="text/javascript" src="_static/underscore.js"></script>
|
25
|
-
<script type="text/javascript" src="_static/doctools.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px">
|
31
|
-
<a href="http://docs.getchef.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<div class="document">
|
38
|
-
<div class="documentwrapper">
|
39
|
-
|
40
|
-
<div class="body">
|
41
|
-
|
42
|
-
<div class="section" id="knife-ssl-fetch">
|
43
|
-
<h1>knife ssl fetch<a class="headerlink" href="#knife-ssl-fetch" title="Permalink to this headline">¶</a></h1>
|
44
|
-
<p>The <strong>knife ssl fetch</strong> subcommand is used to copy SSL certificates from an HTTPS server to the <tt class="docutils literal"><span class="pre">trusted_certs_dir</span></tt> directory that is used by knife and the chef-client to store trusted SSL certificates. When these certificates match the hostname of the remote server, running <tt class="docutils literal"><span class="pre">knife</span> <span class="pre">ssl</span> <span class="pre">fetch</span></tt> is the only step required to verify a remote server that is accessed by either knife or the chef-client.</p>
|
45
|
-
<div class="admonition warning">
|
46
|
-
<p class="first admonition-title">Warning</p>
|
47
|
-
<p class="last">It is the user’s responsibility to verify the authenticity of every SSL certificate before downloading it to the <tt class="docutils literal"><span class="pre">trusted_certs_dir</span></tt> directory. knife will use any certificate in that directory as if it is a 100% trusted and authentic SSL certificate. knife will not be able to determine if any certificate in this directory has been tampered with, is forged, malicious, or otherwise harmful. Therefore it is essential that users take the proper steps before downloading certificates into this directory.</p>
|
48
|
-
</div>
|
49
|
-
<p><strong>Syntax</strong></p>
|
50
|
-
<p>This subcommand has the following syntax:</p>
|
51
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl fetch URI_FOR_HTTPS_SERVER
|
52
|
-
</pre></div>
|
53
|
-
</div>
|
54
|
-
<p><strong>Options</strong></p>
|
55
|
-
<p>This subcommand has the following options:</p>
|
56
|
-
<dl class="docutils">
|
57
|
-
<dt><tt class="docutils literal"><span class="pre">-a</span> <span class="pre">SSH_ATTR</span></tt>, <tt class="docutils literal"><span class="pre">--attribute</span> <span class="pre">SSH_ATTR</span></tt></dt>
|
58
|
-
<dd>The attribute that is used when opening the SSH connection. The default attribute is the FQDN of the host. Other possible values include a public IP address, a private IP address, or a hostname.</dd>
|
59
|
-
<dt><tt class="docutils literal"><span class="pre">-A</span></tt>, <tt class="docutils literal"><span class="pre">--forward-agent</span></tt></dt>
|
60
|
-
<dd>Use to enable SSH agent forwarding.</dd>
|
61
|
-
<dt><tt class="docutils literal"><span class="pre">-c</span> <span class="pre">CONFIG_FILE</span></tt>, <tt class="docutils literal"><span class="pre">--config</span> <span class="pre">CONFIG_FILE</span></tt></dt>
|
62
|
-
<dd>The configuration file to use.</dd>
|
63
|
-
<dt><tt class="docutils literal"><span class="pre">-C</span> <span class="pre">NUM</span></tt>, <tt class="docutils literal"><span class="pre">--concurrency</span> <span class="pre">NUM</span></tt></dt>
|
64
|
-
<dd>The number of allowed concurrent connections.</dd>
|
65
|
-
<dt><tt class="docutils literal"><span class="pre">--chef-zero-port</span> <span class="pre">PORT</span></tt></dt>
|
66
|
-
<dd>The port on which chef-zero will listen.</dd>
|
67
|
-
<dt><tt class="docutils literal"><span class="pre">--[no-]color</span></tt></dt>
|
68
|
-
<dd>Use to view colored output.</dd>
|
69
|
-
<dt><tt class="docutils literal"><span class="pre">-d</span></tt>, <tt class="docutils literal"><span class="pre">--disable-editing</span></tt></dt>
|
70
|
-
<dd>Use to prevent the $EDITOR from being opened and to accept data as-is.</dd>
|
71
|
-
<dt><tt class="docutils literal"><span class="pre">--defaults</span></tt></dt>
|
72
|
-
<dd>Use to have knife use the default value instead of asking a user to provide one.</dd>
|
73
|
-
<dt><tt class="docutils literal"><span class="pre">-e</span> <span class="pre">EDITOR</span></tt>, <tt class="docutils literal"><span class="pre">--editor</span> <span class="pre">EDITOR</span></tt></dt>
|
74
|
-
<dd>The $EDITOR that is used for all interactive commands.</dd>
|
75
|
-
<dt><tt class="docutils literal"><span class="pre">-E</span> <span class="pre">ENVIRONMENT</span></tt>, <tt class="docutils literal"><span class="pre">--environment</span> <span class="pre">ENVIRONMENT</span></tt></dt>
|
76
|
-
<dd>The name of the environment. When this option is added to a command, the command will run only against the named environment.</dd>
|
77
|
-
<dt><tt class="docutils literal"><span class="pre">-F</span> <span class="pre">FORMAT</span></tt>, <tt class="docutils literal"><span class="pre">--format</span> <span class="pre">FORMAT</span></tt></dt>
|
78
|
-
<dd>The output format: <tt class="docutils literal"><span class="pre">summary</span></tt> (default), <tt class="docutils literal"><span class="pre">text</span></tt>, <tt class="docutils literal"><span class="pre">json</span></tt>, <tt class="docutils literal"><span class="pre">yaml</span></tt>, and <tt class="docutils literal"><span class="pre">pp</span></tt>.</dd>
|
79
|
-
<dt><tt class="docutils literal"><span class="pre">-G</span> <span class="pre">GATEWAY</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-gateway</span> <span class="pre">GATEWAY</span></tt></dt>
|
80
|
-
<dd>The SSH tunnel or gateway that is used to run a bootstrap action on a machine that is not accessible from the workstation.</dd>
|
81
|
-
<dt><tt class="docutils literal"><span class="pre">-h</span></tt>, <tt class="docutils literal"><span class="pre">--help</span></tt></dt>
|
82
|
-
<dd>Shows help for the command.</dd>
|
83
|
-
<dt><tt class="docutils literal"><span class="pre">-i</span> <span class="pre">IDENTITY_FILE</span></tt>, <tt class="docutils literal"><span class="pre">--identity-file</span> <span class="pre">IDENTIFY_FILE</span></tt></dt>
|
84
|
-
<dd>The SSH identity file used for authentication. Key-based authentication is recommended.</dd>
|
85
|
-
<dt><tt class="docutils literal"><span class="pre">-k</span> <span class="pre">KEY</span></tt>, <tt class="docutils literal"><span class="pre">--key</span> <span class="pre">KEY</span></tt></dt>
|
86
|
-
<dd>The private key that knife will use to sign requests made by the API client to the Chef server.</dd>
|
87
|
-
<dt><tt class="docutils literal"><span class="pre">-m</span></tt>, <tt class="docutils literal"><span class="pre">--manual-list</span></tt></dt>
|
88
|
-
<dd>Use to define a search query as a space-separated list of servers. If there is more than one item in the list, put quotes around the entire list. For example: <tt class="docutils literal"><span class="pre">--manual-list</span> <span class="pre">"server01</span> <span class="pre">server</span> <span class="pre">02</span> <span class="pre">server</span> <span class="pre">03"</span></tt></dd>
|
89
|
-
<dt><tt class="docutils literal"><span class="pre">--[no-]host-key-verify</span></tt></dt>
|
90
|
-
<dd>Use <tt class="docutils literal"><span class="pre">--no-host-key-verify</span></tt> to disable host key verification. Default setting: <tt class="docutils literal"><span class="pre">--host-key-verify</span></tt>.</dd>
|
91
|
-
<dt><tt class="docutils literal"><span class="pre">OTHER</span></tt></dt>
|
92
|
-
<dd>The shell type. Possible values: <tt class="docutils literal"><span class="pre">interactive</span></tt>, <tt class="docutils literal"><span class="pre">screen</span></tt>, <tt class="docutils literal"><span class="pre">tmux</span></tt>, <tt class="docutils literal"><span class="pre">macterm</span></tt>, or <tt class="docutils literal"><span class="pre">cssh</span></tt>. (<tt class="docutils literal"><span class="pre">csshx</span></tt> is deprecated in favor of <tt class="docutils literal"><span class="pre">cssh</span></tt>.)</dd>
|
93
|
-
<dt><tt class="docutils literal"><span class="pre">-p</span> <span class="pre">PORT</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-port</span> <span class="pre">PORT</span></tt></dt>
|
94
|
-
<dd>The SSH port.</dd>
|
95
|
-
<dt><tt class="docutils literal"><span class="pre">-P</span> <span class="pre">PASSWORD</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-password</span> <span class="pre">PASSWORD</span></tt></dt>
|
96
|
-
<dd>The SSH password. This can be used to pass the password directly on the command line. If this option is not specified (and a password is required) knife will prompt for the password.</dd>
|
97
|
-
<dt><tt class="docutils literal"><span class="pre">--print-after</span></tt></dt>
|
98
|
-
<dd>Use to show data after a destructive operation.</dd>
|
99
|
-
<dt><tt class="docutils literal"><span class="pre">-s</span> <span class="pre">URL</span></tt>, <tt class="docutils literal"><span class="pre">--server-url</span> <span class="pre">URL</span></tt></dt>
|
100
|
-
<dd>The URL for the Chef server.</dd>
|
101
|
-
<dt><tt class="docutils literal"><span class="pre">SEARCH_QUERY</span></tt></dt>
|
102
|
-
<dd>The search query used to return a list of servers to be accessed using SSH and the specified <tt class="docutils literal"><span class="pre">SSH_COMMAND</span></tt>. This option uses the same syntax as the search sub-command.</dd>
|
103
|
-
<dt><tt class="docutils literal"><span class="pre">SSH_COMMAND</span></tt></dt>
|
104
|
-
<dd>The command that will be run against the results of a search query.</dd>
|
105
|
-
<dt><tt class="docutils literal"><span class="pre">-u</span> <span class="pre">USER</span></tt>, <tt class="docutils literal"><span class="pre">--user</span> <span class="pre">USER</span></tt></dt>
|
106
|
-
<dd>The user name used by knife to sign requests made by the API client to the Chef server. Authentication will fail if the user name does not match the private key.</dd>
|
107
|
-
<dt><tt class="docutils literal"><span class="pre">-v</span></tt>, <tt class="docutils literal"><span class="pre">--version</span></tt></dt>
|
108
|
-
<dd>The version of the chef-client.</dd>
|
109
|
-
<dt><tt class="docutils literal"><span class="pre">-V</span></tt>, <tt class="docutils literal"><span class="pre">--verbose</span></tt></dt>
|
110
|
-
<dd>Set for more verbose outputs. Use <tt class="docutils literal"><span class="pre">-VV</span></tt> for maximum verbosity.</dd>
|
111
|
-
<dt><tt class="docutils literal"><span class="pre">-x</span> <span class="pre">USER_NAME</span></tt>, <tt class="docutils literal"><span class="pre">--ssh-user</span> <span class="pre">USER_NAME</span></tt></dt>
|
112
|
-
<dd>The SSH user name.</dd>
|
113
|
-
<dt><tt class="docutils literal"><span class="pre">-y</span></tt>, <tt class="docutils literal"><span class="pre">--yes</span></tt></dt>
|
114
|
-
<dd>Use to respond to all confirmation prompts with “Yes”. knife will not ask for confirmation.</dd>
|
115
|
-
<dt><tt class="docutils literal"><span class="pre">-z</span></tt>, <tt class="docutils literal"><span class="pre">--local-mode</span></tt></dt>
|
116
|
-
<dd>Use to run the chef-client in local mode. This allows all commands that work against the Chef server to also work against the local chef-repo.</dd>
|
117
|
-
</dl>
|
118
|
-
<p><strong>Examples</strong></p>
|
119
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
120
|
-
<p><strong>Fetch the SSL certificates used by Knife from the Chef server</strong></p>
|
121
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl fetch
|
122
|
-
</pre></div>
|
123
|
-
</div>
|
124
|
-
<p><strong>Fetch the SSL certificates used by the chef-client from the Chef server</strong></p>
|
125
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl fetch -c /etc/chef/client.rb
|
126
|
-
</pre></div>
|
127
|
-
</div>
|
128
|
-
<p><strong>Fetch SSL certificates from a URL or URI</strong></p>
|
129
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl fetch URL_or_URI
|
130
|
-
</pre></div>
|
131
|
-
</div>
|
132
|
-
<p>for example:</p>
|
133
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife ssl fetch https://www.getchef.com
|
134
|
-
</pre></div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
|
144
|
-
<div class="clearer"></div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
</body>
|
151
|
-
</html>
|
@@ -1,144 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
|
9
|
-
<title>knife status — chef-client Man Pages</title>
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="_static/guide.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
13
|
-
|
14
|
-
<script type="text/javascript">
|
15
|
-
var DOCUMENTATION_OPTIONS = {
|
16
|
-
URL_ROOT: './',
|
17
|
-
VERSION: '',
|
18
|
-
COLLAPSE_INDEX: false,
|
19
|
-
FILE_SUFFIX: '.html',
|
20
|
-
HAS_SOURCE: true
|
21
|
-
};
|
22
|
-
</script>
|
23
|
-
<script type="text/javascript" src="_static/jquery.js"></script>
|
24
|
-
<script type="text/javascript" src="_static/underscore.js"></script>
|
25
|
-
<script type="text/javascript" src="_static/doctools.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px">
|
31
|
-
<a href="http://docs.getchef.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<div class="document">
|
38
|
-
<div class="documentwrapper">
|
39
|
-
|
40
|
-
<div class="body">
|
41
|
-
|
42
|
-
<div class="section" id="knife-status">
|
43
|
-
<h1>knife status<a class="headerlink" href="#knife-status" title="Permalink to this headline">¶</a></h1>
|
44
|
-
<p>The <strong>knife status</strong> subcommand is used to display a brief summary of the nodes on a Chef server, including the time of the most recent successful chef-client run.</p>
|
45
|
-
<div class="section" id="syntax">
|
46
|
-
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
47
|
-
<p>This subcommand has the following syntax:</p>
|
48
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife status <span class="o">(</span>options<span class="o">)</span>
|
49
|
-
</pre></div>
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
<div class="section" id="options">
|
53
|
-
<h2>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
|
54
|
-
<div class="admonition note">
|
55
|
-
<p class="first admonition-title">Note</p>
|
56
|
-
<p class="last">Review the list of <a class="reference internal" href="knife_common_options.html"><em>common options</em></a> available to this (and all) knife subcommands and plugins.</p>
|
57
|
-
</div>
|
58
|
-
<p>This subcommand has the following options:</p>
|
59
|
-
<dl class="docutils">
|
60
|
-
<dt><tt class="docutils literal"><span class="pre">QUERY</span></tt></dt>
|
61
|
-
<dd>The search query used to identify a a list of items on a Chef server. This option uses the same syntax as the <tt class="docutils literal"><span class="pre">search</span></tt> sub-command.</dd>
|
62
|
-
<dt><tt class="docutils literal"><span class="pre">-H</span></tt>, <tt class="docutils literal"><span class="pre">--hide-healthy</span></tt></dt>
|
63
|
-
<dd>Use to hide nodes on which a chef-client run has occurred within the previous hour.</dd>
|
64
|
-
<dt><tt class="docutils literal"><span class="pre">-l</span></tt>, <tt class="docutils literal"><span class="pre">--long</span></tt></dt>
|
65
|
-
<dd>Use to display all attributes in the output and to show the output as JSON.</dd>
|
66
|
-
<dt><tt class="docutils literal"><span class="pre">-m</span></tt>, <tt class="docutils literal"><span class="pre">--medium</span></tt></dt>
|
67
|
-
<dd>Use to display normal attributes in the output and to show the output as JSON.</dd>
|
68
|
-
<dt><tt class="docutils literal"><span class="pre">-r</span> <span class="pre">RUN_LIST</span></tt>, <tt class="docutils literal"><span class="pre">--run-list</span> <span class="pre">RUN_LIST</span></tt></dt>
|
69
|
-
<dd>A comma-separated list of roles and/or recipes to be applied.</dd>
|
70
|
-
<dt><tt class="docutils literal"><span class="pre">-s</span></tt>, <tt class="docutils literal"><span class="pre">--sort-reverse</span></tt></dt>
|
71
|
-
<dd>Use to sort a list by last run time, descending.</dd>
|
72
|
-
</dl>
|
73
|
-
</div>
|
74
|
-
<div class="section" id="examples">
|
75
|
-
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
|
76
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
77
|
-
<p><strong>View status, include run-lists</strong></p>
|
78
|
-
<p>To include run lists in the status, enter:</p>
|
79
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife status --run-list
|
80
|
-
</pre></div>
|
81
|
-
</div>
|
82
|
-
<p>to return something like:</p>
|
83
|
-
<div class="highlight-bash"><div class="highlight"><pre>20 hours ago, dev-vm.chisamore.com, ubuntu 10.04, dev-vm.chisamore.com, 10.66.44.126, role<span class="o">[</span>lb<span class="o">]</span>.
|
84
|
-
3 hours ago, i-225f954f, ubuntu 10.04, ec2-67-202-63-102.compute-1.amazonaws.com, 67.202.63.102, role<span class="o">[</span>web<span class="o">]</span>.
|
85
|
-
3 hours ago, i-a45298c9, ubuntu 10.04, ec2-174-129-127-206.compute-1.amazonaws.com, 174.129.127.206, role<span class="o">[</span>web<span class="o">]</span>.
|
86
|
-
3 hours ago, i-5272a43f, ubuntu 10.04, ec2-184-73-9-250.compute-1.amazonaws.com, 184.73.9.250, role<span class="o">[</span>web<span class="o">]</span>.
|
87
|
-
3 hours ago, i-226ca64f, ubuntu 10.04, ec2-75-101-240-230.compute-1.amazonaws.com, 75.101.240.230, role<span class="o">[</span>web<span class="o">]</span>.
|
88
|
-
3 hours ago, i-f65c969b, ubuntu 10.04, ec2-184-73-60-141.compute-1.amazonaws.com, 184.73.60.141, role<span class="o">[</span>web<span class="o">]</span>.
|
89
|
-
</pre></div>
|
90
|
-
</div>
|
91
|
-
<p><strong>View status using a date range</strong></p>
|
92
|
-
<p>To show the status for nodes on which the chef-client did not run successfully within the past hour, enter:</p>
|
93
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife status --hide-healthy
|
94
|
-
</pre></div>
|
95
|
-
</div>
|
96
|
-
<p>to return something like:</p>
|
97
|
-
<div class="highlight-bash"><div class="highlight"><pre>1 hour ago, i-256f884f, ubuntu 12.04, ec2-67-202-63-102.compute-1.amazonaws.com, 67.202.63.102, role<span class="o">[</span>web<span class="o">]</span>.
|
98
|
-
1 hour ago, i-a47823c9, ubuntu 10.04, ec2-174-129-127-206.compute-1.amazonaws.com, 184.129.143.111, role<span class="o">[</span>lb<span class="o">]</span>.
|
99
|
-
</pre></div>
|
100
|
-
</div>
|
101
|
-
<p><strong>View status using a query</strong></p>
|
102
|
-
<p>To show the status of a subset of nodes that are returned by a specific query, enter:</p>
|
103
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife status <span class="s2">"role:web"</span> --run-list
|
104
|
-
</pre></div>
|
105
|
-
</div>
|
106
|
-
<p>to return something like:</p>
|
107
|
-
<div class="highlight-bash"><div class="highlight"><pre>3 hours ago, i-225f954f, ubuntu 10.04, ec2-67-202-63-102.compute-1.amazonaws.com, 67.202.63.102, role<span class="o">[</span>web<span class="o">]</span>.
|
108
|
-
3 hours ago, i-a45298c9, ubuntu 10.04, ec2-174-129-127-206.compute-1.amazonaws.com, 174.129.127.206, role<span class="o">[</span>web<span class="o">]</span>.
|
109
|
-
3 hours ago, i-5272a43f, ubuntu 10.04, ec2-184-73-9-250.compute-1.amazonaws.com, 184.73.9.250, role<span class="o">[</span>web<span class="o">]</span>.
|
110
|
-
3 hours ago, i-226ca64f, ubuntu 10.04, ec2-75-101-240-230.compute-1.amazonaws.com, 75.101.240.230, role<span class="o">[</span>web<span class="o">]</span>.
|
111
|
-
3 hours ago, i-f65c969b, ubuntu 10.04, ec2-184-73-60-141.compute-1.amazonaws.com, 184.73.60.141, role<span class="o">[</span>web<span class="o">]</span>.
|
112
|
-
</pre></div>
|
113
|
-
</div>
|
114
|
-
<p><strong>View status for all nodes</strong></p>
|
115
|
-
<p>To view the status of all nodes in the organization, enter:</p>
|
116
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife status
|
117
|
-
</pre></div>
|
118
|
-
</div>
|
119
|
-
<p>to return something like:</p>
|
120
|
-
<div class="highlight-bash"><div class="highlight"><pre>20 hours ago, dev-vm.chisamore.com, ubuntu 10.04, dev-vm.chisamore.com, 10.66.44.126
|
121
|
-
3 hours ago, i-225f954f, ubuntu 10.04, ec2-67-202-63-102.compute-1.amazonaws.com, 67.202.63.102
|
122
|
-
3 hours ago, i-a45298c9, ubuntu 10.04, ec2-174-129-127-206.compute-1.amazonaws.com, 174.129.127.206
|
123
|
-
3 hours ago, i-5272a43f, ubuntu 10.04, ec2-184-73-9-250.compute-1.amazonaws.com, 184.73.9.250
|
124
|
-
3 hours ago, i-226ca64f, ubuntu 10.04, ec2-75-101-240-230.compute-1.amazonaws.com, 75.101.240.230
|
125
|
-
3 hours ago, i-f65c969b, ubuntu 10.04, ec2-184-73-60-141.compute-1.amazonaws.com, 184.73.60.141
|
126
|
-
</pre></div>
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
</div>
|
130
|
-
|
131
|
-
|
132
|
-
</div>
|
133
|
-
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
<div class="clearer"></div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
</body>
|
144
|
-
</html>
|
@@ -1,138 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
|
9
|
-
<title>knife tag — chef-client Man Pages</title>
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="_static/guide.css" type="text/css" />
|
12
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
13
|
-
|
14
|
-
<script type="text/javascript">
|
15
|
-
var DOCUMENTATION_OPTIONS = {
|
16
|
-
URL_ROOT: './',
|
17
|
-
VERSION: '',
|
18
|
-
COLLAPSE_INDEX: false,
|
19
|
-
FILE_SUFFIX: '.html',
|
20
|
-
HAS_SOURCE: true
|
21
|
-
};
|
22
|
-
</script>
|
23
|
-
<script type="text/javascript" src="_static/jquery.js"></script>
|
24
|
-
<script type="text/javascript" src="_static/underscore.js"></script>
|
25
|
-
<script type="text/javascript" src="_static/doctools.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px">
|
31
|
-
<a href="http://docs.getchef.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<div class="document">
|
38
|
-
<div class="documentwrapper">
|
39
|
-
|
40
|
-
<div class="body">
|
41
|
-
|
42
|
-
<div class="section" id="knife-tag">
|
43
|
-
<h1>knife tag<a class="headerlink" href="#knife-tag" title="Permalink to this headline">¶</a></h1>
|
44
|
-
<p>A tag is a custom description that is applied to a node. A tag, once applied, can be helpful when managing nodes using knife or when building recipes by providing alternate methods of grouping similar types of information.</p>
|
45
|
-
<p>The <strong>knife tag</strong> subcommand is used to apply tags to nodes on a Chef server.</p>
|
46
|
-
<div class="admonition note">
|
47
|
-
<p class="first admonition-title">Note</p>
|
48
|
-
<p class="last">Review the list of <a class="reference internal" href="knife_common_options.html"><em>common options</em></a> available to this (and all) knife subcommands and plugins.</p>
|
49
|
-
</div>
|
50
|
-
<div class="section" id="create">
|
51
|
-
<h2>create<a class="headerlink" href="#create" title="Permalink to this headline">¶</a></h2>
|
52
|
-
<p>The <tt class="docutils literal"><span class="pre">create</span></tt> argument is used to add one or more tags to a node.</p>
|
53
|
-
<div class="section" id="syntax">
|
54
|
-
<h3>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h3>
|
55
|
-
<p>This argument has the following syntax:</p>
|
56
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag create NODE_NAME <span class="o">[</span>TAG...<span class="o">]</span>
|
57
|
-
</pre></div>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
<div class="section" id="options">
|
61
|
-
<h3>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h3>
|
62
|
-
<p>This command does not have any specific options.</p>
|
63
|
-
</div>
|
64
|
-
<div class="section" id="examples">
|
65
|
-
<h3>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h3>
|
66
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
67
|
-
<p><strong>Create tags</strong></p>
|
68
|
-
<p>To create tags named <tt class="docutils literal"><span class="pre">seattle</span></tt>, <tt class="docutils literal"><span class="pre">portland</span></tt>, and <tt class="docutils literal"><span class="pre">vancouver</span></tt>, enter:</p>
|
69
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag create node seattle portland vancouver
|
70
|
-
</pre></div>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
<div class="section" id="delete">
|
75
|
-
<h2>delete<a class="headerlink" href="#delete" title="Permalink to this headline">¶</a></h2>
|
76
|
-
<p>The <tt class="docutils literal"><span class="pre">delete</span></tt> argument is used to delete one or more tags from a node.</p>
|
77
|
-
<div class="section" id="id1">
|
78
|
-
<h3>Syntax<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
|
79
|
-
<p>This argument has the following syntax:</p>
|
80
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag delete NODE_NAME <span class="o">[</span>TAG...<span class="o">]</span>
|
81
|
-
</pre></div>
|
82
|
-
</div>
|
83
|
-
</div>
|
84
|
-
<div class="section" id="id2">
|
85
|
-
<h3>Options<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
86
|
-
<p>This command does not have any specific options.</p>
|
87
|
-
</div>
|
88
|
-
<div class="section" id="id3">
|
89
|
-
<h3>Examples<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
90
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
91
|
-
<p><strong>Delete tags</strong></p>
|
92
|
-
<p>To delete tags named <tt class="docutils literal"><span class="pre">denver</span></tt> and <tt class="docutils literal"><span class="pre">phoenix</span></tt>, enter:</p>
|
93
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag delete node denver phoenix
|
94
|
-
</pre></div>
|
95
|
-
</div>
|
96
|
-
<p>Type <tt class="docutils literal"><span class="pre">Y</span></tt> to confirm a deletion.</p>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
<div class="section" id="list">
|
100
|
-
<h2>list<a class="headerlink" href="#list" title="Permalink to this headline">¶</a></h2>
|
101
|
-
<p>The <tt class="docutils literal"><span class="pre">list</span></tt> argument is used to list all of the tags that have been applied to a node.</p>
|
102
|
-
<div class="section" id="id4">
|
103
|
-
<h3>Syntax<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
|
104
|
-
<p>This argument has the following syntax:</p>
|
105
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag list <span class="o">[</span>NODE_NAME...<span class="o">]</span>
|
106
|
-
</pre></div>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
<div class="section" id="id5">
|
110
|
-
<h3>Options<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
|
111
|
-
<p>This command does not have any specific options.</p>
|
112
|
-
</div>
|
113
|
-
<div class="section" id="id6">
|
114
|
-
<h3>Examples<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
|
115
|
-
<p>The following examples show how to use this knife subcommand:</p>
|
116
|
-
<p><strong>View a list of tags</strong></p>
|
117
|
-
<p>To view the tags for a node named <tt class="docutils literal"><span class="pre">devops_prod1</span></tt>, enter:</p>
|
118
|
-
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag list devops_prod1
|
119
|
-
</pre></div>
|
120
|
-
</div>
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
</div>
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
</div>
|
129
|
-
|
130
|
-
|
131
|
-
<div class="clearer"></div>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
</body>
|
138
|
-
</html>
|