chef 13.11.3 → 13.12.3
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 -248
- 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/distro/powershell/chef/chef.psm1 +0 -459
- data/tasks/cbgb.rb +0 -84
@@ -1,172 +0,0 @@
|
|
1
|
-
.\" Man page generated from reStructuredText.
|
2
|
-
.
|
3
|
-
.TH "KNIFE-RAW" "1" "Chef 12.0" "" "knife raw"
|
4
|
-
.SH NAME
|
5
|
-
knife-raw \- The man page for the knife raw subcommand.
|
6
|
-
.
|
7
|
-
.nr rst2man-indent-level 0
|
8
|
-
.
|
9
|
-
.de1 rstReportMargin
|
10
|
-
\\$1 \\n[an-margin]
|
11
|
-
level \\n[rst2man-indent-level]
|
12
|
-
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
13
|
-
-
|
14
|
-
\\n[rst2man-indent0]
|
15
|
-
\\n[rst2man-indent1]
|
16
|
-
\\n[rst2man-indent2]
|
17
|
-
..
|
18
|
-
.de1 INDENT
|
19
|
-
.\" .rstReportMargin pre:
|
20
|
-
. RS \\$1
|
21
|
-
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
22
|
-
. nr rst2man-indent-level +1
|
23
|
-
.\" .rstReportMargin post:
|
24
|
-
..
|
25
|
-
.de UNINDENT
|
26
|
-
. RE
|
27
|
-
.\" indent \\n[an-margin]
|
28
|
-
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
29
|
-
.nr rst2man-indent-level -1
|
30
|
-
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
31
|
-
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
32
|
-
..
|
33
|
-
.sp
|
34
|
-
The \fBknife raw\fP subcommand is used to send a REST request to an endpoint in the Chef server API\&.
|
35
|
-
.sp
|
36
|
-
\fBSyntax\fP
|
37
|
-
.sp
|
38
|
-
This subcommand has the following syntax:
|
39
|
-
.INDENT 0.0
|
40
|
-
.INDENT 3.5
|
41
|
-
.sp
|
42
|
-
.nf
|
43
|
-
.ft C
|
44
|
-
$ knife raw REQUEST_PATH (options)
|
45
|
-
.ft P
|
46
|
-
.fi
|
47
|
-
.UNINDENT
|
48
|
-
.UNINDENT
|
49
|
-
.sp
|
50
|
-
\fBOptions\fP
|
51
|
-
.sp
|
52
|
-
This subcommand has the following options:
|
53
|
-
.INDENT 0.0
|
54
|
-
.TP
|
55
|
-
.B \fB\-c CONFIG_FILE\fP, \fB\-\-config CONFIG_FILE\fP
|
56
|
-
The configuration file to use.
|
57
|
-
.TP
|
58
|
-
.B \fB\-\-chef\-zero\-port PORT\fP
|
59
|
-
The port on which chef\-zero will listen.
|
60
|
-
.TP
|
61
|
-
.B \fB\-\-[no\-]color\fP
|
62
|
-
Use to view colored output.
|
63
|
-
.TP
|
64
|
-
.B \fB\-d\fP, \fB\-\-disable\-editing\fP
|
65
|
-
Use to prevent the $EDITOR from being opened and to accept data as\-is.
|
66
|
-
.TP
|
67
|
-
.B \fB\-\-defaults\fP
|
68
|
-
Use to have knife use the default value instead of asking a user to provide one.
|
69
|
-
.TP
|
70
|
-
.B \fB\-e EDITOR\fP, \fB\-\-editor EDITOR\fP
|
71
|
-
The $EDITOR that is used for all interactive commands.
|
72
|
-
.TP
|
73
|
-
.B \fB\-E ENVIRONMENT\fP, \fB\-\-environment ENVIRONMENT\fP
|
74
|
-
The name of the environment. When this option is added to a command, the command will run only against the named environment.
|
75
|
-
.TP
|
76
|
-
.B \fB\-F FORMAT\fP, \fB\-\-format FORMAT\fP
|
77
|
-
The output format: \fBsummary\fP (default), \fBtext\fP, \fBjson\fP, \fByaml\fP, and \fBpp\fP\&.
|
78
|
-
.TP
|
79
|
-
.B \fB\-h\fP, \fB\-\-help\fP
|
80
|
-
Shows help for the command.
|
81
|
-
.TP
|
82
|
-
.B \fB\-i FILE\fP, \fB\-\-input FILE\fP
|
83
|
-
The name of a file to be used with the \fBPUT\fP or a \fBPOST\fP request.
|
84
|
-
.TP
|
85
|
-
.B \fB\-k KEY\fP, \fB\-\-key KEY\fP
|
86
|
-
The private key that knife will use to sign requests made by the API client to the Chef server\&.
|
87
|
-
.TP
|
88
|
-
.B \fB\-m METHOD\fP, \fB\-\-method METHOD\fP
|
89
|
-
The request method: \fBDELETE\fP, \fBGET\fP, \fBPOST\fP, or \fBPUT\fP\&. Default value: \fBGET\fP\&.
|
90
|
-
.TP
|
91
|
-
.B \fB\-\-[no\-]pretty\fP
|
92
|
-
Use \fB\-\-no\-pretty\fP to disable pretty\-print output for JSON\&. Default: \fB\-\-pretty\fP\&.
|
93
|
-
.TP
|
94
|
-
.B \fB\-\-print\-after\fP
|
95
|
-
Use to show data after a destructive operation.
|
96
|
-
.TP
|
97
|
-
.B \fB\-s URL\fP, \fB\-\-server\-url URL\fP
|
98
|
-
The URL for the Chef server\&.
|
99
|
-
.TP
|
100
|
-
.B \fB\-u USER\fP, \fB\-\-user USER\fP
|
101
|
-
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.
|
102
|
-
.TP
|
103
|
-
.B \fB\-v\fP, \fB\-\-version\fP
|
104
|
-
The version of the chef\-client\&.
|
105
|
-
.TP
|
106
|
-
.B \fB\-V\fP, \fB\-\-verbose\fP
|
107
|
-
Set for more verbose outputs. Use \fB\-VV\fP for maximum verbosity.
|
108
|
-
.TP
|
109
|
-
.B \fB\-y\fP, \fB\-\-yes\fP
|
110
|
-
Use to respond to all confirmation prompts with "Yes". knife will not ask for confirmation.
|
111
|
-
.TP
|
112
|
-
.B \fB\-z\fP, \fB\-\-local\-mode\fP
|
113
|
-
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\&.
|
114
|
-
.UNINDENT
|
115
|
-
.sp
|
116
|
-
\fBExamples\fP
|
117
|
-
.sp
|
118
|
-
To view information about a client:
|
119
|
-
.INDENT 0.0
|
120
|
-
.INDENT 3.5
|
121
|
-
.sp
|
122
|
-
.nf
|
123
|
-
.ft C
|
124
|
-
knife raw /clients/<client_name>
|
125
|
-
.ft P
|
126
|
-
.fi
|
127
|
-
.UNINDENT
|
128
|
-
.UNINDENT
|
129
|
-
.sp
|
130
|
-
To view information about a node:
|
131
|
-
.INDENT 0.0
|
132
|
-
.INDENT 3.5
|
133
|
-
.sp
|
134
|
-
.nf
|
135
|
-
.ft C
|
136
|
-
knife raw /nodes/<node_name>
|
137
|
-
.ft P
|
138
|
-
.fi
|
139
|
-
.UNINDENT
|
140
|
-
.UNINDENT
|
141
|
-
.sp
|
142
|
-
To delete a data bag, enter a command similar to:
|
143
|
-
.INDENT 0.0
|
144
|
-
.INDENT 3.5
|
145
|
-
.sp
|
146
|
-
.nf
|
147
|
-
.ft C
|
148
|
-
$ knife raw \-m DELETE /data/foo
|
149
|
-
.ft P
|
150
|
-
.fi
|
151
|
-
.UNINDENT
|
152
|
-
.UNINDENT
|
153
|
-
.sp
|
154
|
-
to return something similar to:
|
155
|
-
.INDENT 0.0
|
156
|
-
.INDENT 3.5
|
157
|
-
.sp
|
158
|
-
.nf
|
159
|
-
.ft C
|
160
|
-
{
|
161
|
-
"name":"foo",
|
162
|
-
"json_class":"Chef::DataBag",
|
163
|
-
"chef_type":"data_bag"
|
164
|
-
}
|
165
|
-
.ft P
|
166
|
-
.fi
|
167
|
-
.UNINDENT
|
168
|
-
.UNINDENT
|
169
|
-
.SH AUTHOR
|
170
|
-
Chef
|
171
|
-
.\" Generated by docutils manpage writer.
|
172
|
-
.
|
@@ -1,85 +0,0 @@
|
|
1
|
-
.\" Man page generated from reStructuredText.
|
2
|
-
.
|
3
|
-
.TH "KNIFE-RECIPE-LIST" "1" "Chef 12.0" "" "knife recipe list"
|
4
|
-
.SH NAME
|
5
|
-
knife-recipe-list \- The man page for the knife recipe list subcommand.
|
6
|
-
.
|
7
|
-
.nr rst2man-indent-level 0
|
8
|
-
.
|
9
|
-
.de1 rstReportMargin
|
10
|
-
\\$1 \\n[an-margin]
|
11
|
-
level \\n[rst2man-indent-level]
|
12
|
-
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
13
|
-
-
|
14
|
-
\\n[rst2man-indent0]
|
15
|
-
\\n[rst2man-indent1]
|
16
|
-
\\n[rst2man-indent2]
|
17
|
-
..
|
18
|
-
.de1 INDENT
|
19
|
-
.\" .rstReportMargin pre:
|
20
|
-
. RS \\$1
|
21
|
-
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
22
|
-
. nr rst2man-indent-level +1
|
23
|
-
.\" .rstReportMargin post:
|
24
|
-
..
|
25
|
-
.de UNINDENT
|
26
|
-
. RE
|
27
|
-
.\" indent \\n[an-margin]
|
28
|
-
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
29
|
-
.nr rst2man-indent-level -1
|
30
|
-
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
31
|
-
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
32
|
-
..
|
33
|
-
.sp
|
34
|
-
The \fBknife recipe list\fP subcommand is used to view all of the recipes that are on a Chef server\&. A regular expression can be used to limit the results to recipes that match a specific pattern. The regular expression must be within quotes and not be surrounded by forward slashes (/).
|
35
|
-
.sp
|
36
|
-
\fBSyntax\fP
|
37
|
-
.sp
|
38
|
-
This subcommand has the following syntax:
|
39
|
-
.INDENT 0.0
|
40
|
-
.INDENT 3.5
|
41
|
-
.sp
|
42
|
-
.nf
|
43
|
-
.ft C
|
44
|
-
$ knife recipe list REGEX
|
45
|
-
.ft P
|
46
|
-
.fi
|
47
|
-
.UNINDENT
|
48
|
-
.UNINDENT
|
49
|
-
.sp
|
50
|
-
\fBOptions\fP
|
51
|
-
.sp
|
52
|
-
This command does not have any specific options.
|
53
|
-
.sp
|
54
|
-
\fBExamples\fP
|
55
|
-
.sp
|
56
|
-
To view a list of recipes:
|
57
|
-
.INDENT 0.0
|
58
|
-
.INDENT 3.5
|
59
|
-
.sp
|
60
|
-
.nf
|
61
|
-
.ft C
|
62
|
-
$ knife recipe list \(aqcouchdb::*\(aq
|
63
|
-
.ft P
|
64
|
-
.fi
|
65
|
-
.UNINDENT
|
66
|
-
.UNINDENT
|
67
|
-
.sp
|
68
|
-
to return:
|
69
|
-
.INDENT 0.0
|
70
|
-
.INDENT 3.5
|
71
|
-
.sp
|
72
|
-
.nf
|
73
|
-
.ft C
|
74
|
-
couchdb::main_monitors
|
75
|
-
couchdb::master
|
76
|
-
couchdb::default
|
77
|
-
couchdb::org_cleanu
|
78
|
-
.ft P
|
79
|
-
.fi
|
80
|
-
.UNINDENT
|
81
|
-
.UNINDENT
|
82
|
-
.SH AUTHOR
|
83
|
-
Chef
|
84
|
-
.\" Generated by docutils manpage writer.
|
85
|
-
.
|
@@ -1,426 +0,0 @@
|
|
1
|
-
.\" Man page generated from reStructuredText.
|
2
|
-
.
|
3
|
-
.TH "KNIFE-ROLE" "1" "Chef 12.0" "" "knife role"
|
4
|
-
.SH NAME
|
5
|
-
knife-role \- The man page for the knife role subcommand.
|
6
|
-
.
|
7
|
-
.nr rst2man-indent-level 0
|
8
|
-
.
|
9
|
-
.de1 rstReportMargin
|
10
|
-
\\$1 \\n[an-margin]
|
11
|
-
level \\n[rst2man-indent-level]
|
12
|
-
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
13
|
-
-
|
14
|
-
\\n[rst2man-indent0]
|
15
|
-
\\n[rst2man-indent1]
|
16
|
-
\\n[rst2man-indent2]
|
17
|
-
..
|
18
|
-
.de1 INDENT
|
19
|
-
.\" .rstReportMargin pre:
|
20
|
-
. RS \\$1
|
21
|
-
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
22
|
-
. nr rst2man-indent-level +1
|
23
|
-
.\" .rstReportMargin post:
|
24
|
-
..
|
25
|
-
.de UNINDENT
|
26
|
-
. RE
|
27
|
-
.\" indent \\n[an-margin]
|
28
|
-
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
29
|
-
.nr rst2man-indent-level -1
|
30
|
-
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
31
|
-
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
32
|
-
..
|
33
|
-
.sp
|
34
|
-
A role is a way to define certain patterns and processes that exist across nodes in an organization as belonging to a single job function. Each role consists of zero (or more) attributes and a run\-list. Each node can have zero (or more) roles assigned to it. When a role is run against a node, the configuration details of that node are compared against the attributes of the role, and then the contents of that role\(aqs run\-list are applied to the node\(aqs configuration details. When a chef\-client runs, it merges its own attributes and run\-lists with those contained within each assigned role.
|
35
|
-
.sp
|
36
|
-
The \fBknife role\fP subcommand is used to manage the roles that are associated with one or more nodes on a Chef server\&.
|
37
|
-
.SH COMMON OPTIONS
|
38
|
-
.sp
|
39
|
-
The following options may be used with any of the arguments available to the \fBknife role\fP subcommand:
|
40
|
-
.INDENT 0.0
|
41
|
-
.TP
|
42
|
-
.B \fB\-\-chef\-zero\-port PORT\fP
|
43
|
-
The port on which chef\-zero will listen.
|
44
|
-
.TP
|
45
|
-
.B \fB\-c CONFIG_FILE\fP, \fB\-\-config CONFIG_FILE\fP
|
46
|
-
The configuration file to use.
|
47
|
-
.TP
|
48
|
-
.B \fB\-d\fP, \fB\-\-disable\-editing\fP
|
49
|
-
Use to prevent the $EDITOR from being opened and to accept data as\-is.
|
50
|
-
.TP
|
51
|
-
.B \fB\-\-defaults\fP
|
52
|
-
Use to have knife use the default value instead of asking a user to provide one.
|
53
|
-
.TP
|
54
|
-
.B \fB\-e EDITOR\fP, \fB\-\-editor EDITOR\fP
|
55
|
-
The $EDITOR that is used for all interactive commands.
|
56
|
-
.TP
|
57
|
-
.B \fB\-E ENVIRONMENT\fP, \fB\-\-environment ENVIRONMENT\fP
|
58
|
-
The name of the environment. When this option is added to a command, the command will run only against the named environment.
|
59
|
-
.TP
|
60
|
-
.B \fB\-F FORMAT\fP, \fB\-\-format FORMAT\fP
|
61
|
-
The output format: \fBsummary\fP (default), \fBtext\fP, \fBjson\fP, \fByaml\fP, and \fBpp\fP\&.
|
62
|
-
.TP
|
63
|
-
.B \fB\-h\fP, \fB\-\-help\fP
|
64
|
-
Shows help for the command.
|
65
|
-
.TP
|
66
|
-
.B \fB\-k KEY\fP, \fB\-\-key KEY\fP
|
67
|
-
The private key that knife will use to sign requests made by the API client to the Chef server\&.
|
68
|
-
.TP
|
69
|
-
.B \fB\-\-[no\-]color\fP
|
70
|
-
Use to view colored output.
|
71
|
-
.TP
|
72
|
-
.B \fB\-\-print\-after\fP
|
73
|
-
Use to show data after a destructive operation.
|
74
|
-
.TP
|
75
|
-
.B \fB\-s URL\fP, \fB\-\-server\-url URL\fP
|
76
|
-
The URL for the Chef server\&.
|
77
|
-
.TP
|
78
|
-
.B \fB\-u USER\fP, \fB\-\-user USER\fP
|
79
|
-
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.
|
80
|
-
.TP
|
81
|
-
.B \fB\-V\fP, \fB\-\-verbose\fP
|
82
|
-
Set for more verbose outputs. Use \fB\-VV\fP for maximum verbosity.
|
83
|
-
.TP
|
84
|
-
.B \fB\-v\fP, \fB\-\-version\fP
|
85
|
-
The version of the chef\-client\&.
|
86
|
-
.TP
|
87
|
-
.B \fB\-y\fP, \fB\-\-yes\fP
|
88
|
-
Use to respond to all confirmation prompts with "Yes". knife will not ask for confirmation.
|
89
|
-
.TP
|
90
|
-
.B \fB\-z\fP, \fB\-\-local\-mode\fP
|
91
|
-
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\&.
|
92
|
-
.UNINDENT
|
93
|
-
.SH BULK DELETE
|
94
|
-
.sp
|
95
|
-
The \fBbulk delete\fP argument is used to delete one or more roles that match a pattern defined by a regular expression. The regular expression must be within quotes and not be surrounded by forward slashes (/).
|
96
|
-
.sp
|
97
|
-
\fBSyntax\fP
|
98
|
-
.sp
|
99
|
-
This argument has the following syntax:
|
100
|
-
.INDENT 0.0
|
101
|
-
.INDENT 3.5
|
102
|
-
.sp
|
103
|
-
.nf
|
104
|
-
.ft C
|
105
|
-
$ knife role bulk delete REGEX
|
106
|
-
.ft P
|
107
|
-
.fi
|
108
|
-
.UNINDENT
|
109
|
-
.UNINDENT
|
110
|
-
.sp
|
111
|
-
\fBOptions\fP
|
112
|
-
.sp
|
113
|
-
This command does not have any specific options.
|
114
|
-
.sp
|
115
|
-
\fBExamples\fP
|
116
|
-
.sp
|
117
|
-
Use a regular expression to define the pattern used to bulk delete roles:
|
118
|
-
.INDENT 0.0
|
119
|
-
.INDENT 3.5
|
120
|
-
.sp
|
121
|
-
.nf
|
122
|
-
.ft C
|
123
|
-
$ knife role bulk delete "^[0\-9]{3}$"
|
124
|
-
.ft P
|
125
|
-
.fi
|
126
|
-
.UNINDENT
|
127
|
-
.UNINDENT
|
128
|
-
.SH CREATE
|
129
|
-
.sp
|
130
|
-
The \fBcreate\fP argument is used to add a role to the Chef server\&. Role data is saved as JSON on the Chef server\&.
|
131
|
-
.sp
|
132
|
-
\fBSyntax\fP
|
133
|
-
.sp
|
134
|
-
This argument has the following syntax:
|
135
|
-
.INDENT 0.0
|
136
|
-
.INDENT 3.5
|
137
|
-
.sp
|
138
|
-
.nf
|
139
|
-
.ft C
|
140
|
-
$ knife role create ROLE_NAME (options)
|
141
|
-
.ft P
|
142
|
-
.fi
|
143
|
-
.UNINDENT
|
144
|
-
.UNINDENT
|
145
|
-
.sp
|
146
|
-
\fBOptions\fP
|
147
|
-
.sp
|
148
|
-
This argument has the following options:
|
149
|
-
.INDENT 0.0
|
150
|
-
.TP
|
151
|
-
.B \fB\-d DESCRIPTION\fP, \fB\-\-description DESCRIPTION\fP
|
152
|
-
The description of the role. This value will populate the description field for the role on the Chef server\&.
|
153
|
-
.UNINDENT
|
154
|
-
.sp
|
155
|
-
\fBExamples\fP
|
156
|
-
.sp
|
157
|
-
To add a role named \fBrole1\fP, enter:
|
158
|
-
.INDENT 0.0
|
159
|
-
.INDENT 3.5
|
160
|
-
.sp
|
161
|
-
.nf
|
162
|
-
.ft C
|
163
|
-
$ knife role create role1
|
164
|
-
.ft P
|
165
|
-
.fi
|
166
|
-
.UNINDENT
|
167
|
-
.UNINDENT
|
168
|
-
.sp
|
169
|
-
In the $EDITOR enter the role data in JSON:
|
170
|
-
.INDENT 0.0
|
171
|
-
.INDENT 3.5
|
172
|
-
.sp
|
173
|
-
.nf
|
174
|
-
.ft C
|
175
|
-
## sample:
|
176
|
-
{
|
177
|
-
"name": "role1",
|
178
|
-
"default_attributes": {
|
179
|
-
},
|
180
|
-
"json_class": "Chef::Role",
|
181
|
-
"run_list": [\(aqrecipe[cookbook_name::recipe_name],
|
182
|
-
role[role_name]\(aq
|
183
|
-
],
|
184
|
-
"description": "",
|
185
|
-
"chef_type": "role",
|
186
|
-
"override_attributes": {
|
187
|
-
}
|
188
|
-
}
|
189
|
-
.ft P
|
190
|
-
.fi
|
191
|
-
.UNINDENT
|
192
|
-
.UNINDENT
|
193
|
-
.sp
|
194
|
-
When finished, save it.
|
195
|
-
.SH DELETE
|
196
|
-
.sp
|
197
|
-
The \fBdelete\fP argument is used to delete a role from the Chef server\&.
|
198
|
-
.sp
|
199
|
-
\fBSyntax\fP
|
200
|
-
.sp
|
201
|
-
This argument has the following syntax:
|
202
|
-
.INDENT 0.0
|
203
|
-
.INDENT 3.5
|
204
|
-
.sp
|
205
|
-
.nf
|
206
|
-
.ft C
|
207
|
-
$ knife role delete ROLE_NAME
|
208
|
-
.ft P
|
209
|
-
.fi
|
210
|
-
.UNINDENT
|
211
|
-
.UNINDENT
|
212
|
-
.sp
|
213
|
-
\fBOptions\fP
|
214
|
-
.sp
|
215
|
-
This command does not have any specific options.
|
216
|
-
.sp
|
217
|
-
\fBExamples\fP
|
218
|
-
.INDENT 0.0
|
219
|
-
.INDENT 3.5
|
220
|
-
.sp
|
221
|
-
.nf
|
222
|
-
.ft C
|
223
|
-
$ knife role delete devops
|
224
|
-
.ft P
|
225
|
-
.fi
|
226
|
-
.UNINDENT
|
227
|
-
.UNINDENT
|
228
|
-
.sp
|
229
|
-
Type \fBY\fP to confirm a deletion.
|
230
|
-
.SH EDIT
|
231
|
-
.sp
|
232
|
-
The \fBedit\fP argument is used to edit role details on the Chef server\&.
|
233
|
-
.sp
|
234
|
-
\fBSyntax\fP
|
235
|
-
.sp
|
236
|
-
This argument has the following syntax:
|
237
|
-
.INDENT 0.0
|
238
|
-
.INDENT 3.5
|
239
|
-
.sp
|
240
|
-
.nf
|
241
|
-
.ft C
|
242
|
-
$ knife role edit ROLE_NAME
|
243
|
-
.ft P
|
244
|
-
.fi
|
245
|
-
.UNINDENT
|
246
|
-
.UNINDENT
|
247
|
-
.sp
|
248
|
-
\fBOptions\fP
|
249
|
-
.sp
|
250
|
-
This command does not have any specific options.
|
251
|
-
.sp
|
252
|
-
\fBExamples\fP
|
253
|
-
.sp
|
254
|
-
To edit the data for a role named \fBrole1\fP, enter:
|
255
|
-
.INDENT 0.0
|
256
|
-
.INDENT 3.5
|
257
|
-
.sp
|
258
|
-
.nf
|
259
|
-
.ft C
|
260
|
-
$ knife role edit role1
|
261
|
-
.ft P
|
262
|
-
.fi
|
263
|
-
.UNINDENT
|
264
|
-
.UNINDENT
|
265
|
-
.sp
|
266
|
-
Update the role data in JSON:
|
267
|
-
.INDENT 0.0
|
268
|
-
.INDENT 3.5
|
269
|
-
.sp
|
270
|
-
.nf
|
271
|
-
.ft C
|
272
|
-
## sample:
|
273
|
-
{
|
274
|
-
"name": "role1",
|
275
|
-
"default_attributes": {
|
276
|
-
},
|
277
|
-
"json_class": "Chef::Role",
|
278
|
-
"run_list": [\(aqrecipe[cookbook_name::recipe_name],
|
279
|
-
role[role_name]\(aq
|
280
|
-
],
|
281
|
-
"description": "This is the description for the role1 role.",
|
282
|
-
"chef_type": "role",
|
283
|
-
"override_attributes": {
|
284
|
-
}
|
285
|
-
}
|
286
|
-
.ft P
|
287
|
-
.fi
|
288
|
-
.UNINDENT
|
289
|
-
.UNINDENT
|
290
|
-
.sp
|
291
|
-
When finished, save it.
|
292
|
-
.SH FROM FILE
|
293
|
-
.sp
|
294
|
-
The \fBfrom file\fP argument is used to create a role using existing JSON data as a template.
|
295
|
-
.sp
|
296
|
-
\fBSyntax\fP
|
297
|
-
.sp
|
298
|
-
This argument has the following syntax:
|
299
|
-
.INDENT 0.0
|
300
|
-
.INDENT 3.5
|
301
|
-
.sp
|
302
|
-
.nf
|
303
|
-
.ft C
|
304
|
-
$ knife role from file FILE
|
305
|
-
.ft P
|
306
|
-
.fi
|
307
|
-
.UNINDENT
|
308
|
-
.UNINDENT
|
309
|
-
.sp
|
310
|
-
\fBOptions\fP
|
311
|
-
.sp
|
312
|
-
This command does not have any specific options.
|
313
|
-
.sp
|
314
|
-
\fBExamples\fP
|
315
|
-
.sp
|
316
|
-
To view role details based on the values contained in a JSON file:
|
317
|
-
.INDENT 0.0
|
318
|
-
.INDENT 3.5
|
319
|
-
.sp
|
320
|
-
.nf
|
321
|
-
.ft C
|
322
|
-
$ knife role from file "path to JSON file"
|
323
|
-
.ft P
|
324
|
-
.fi
|
325
|
-
.UNINDENT
|
326
|
-
.UNINDENT
|
327
|
-
.SH LIST
|
328
|
-
.sp
|
329
|
-
The \fBlist\fP argument is used to view a list of roles that are currently available on the Chef server\&.
|
330
|
-
.sp
|
331
|
-
\fBSyntax\fP
|
332
|
-
.sp
|
333
|
-
This argument has the following syntax:
|
334
|
-
.INDENT 0.0
|
335
|
-
.INDENT 3.5
|
336
|
-
.sp
|
337
|
-
.nf
|
338
|
-
.ft C
|
339
|
-
$ knife role list
|
340
|
-
.ft P
|
341
|
-
.fi
|
342
|
-
.UNINDENT
|
343
|
-
.UNINDENT
|
344
|
-
.sp
|
345
|
-
\fBOptions\fP
|
346
|
-
.sp
|
347
|
-
This argument has the following options:
|
348
|
-
.INDENT 0.0
|
349
|
-
.TP
|
350
|
-
.B \fB\-w\fP, \fB\-\-with\-uri\fP
|
351
|
-
Use to show the corresponding URIs.
|
352
|
-
.UNINDENT
|
353
|
-
.sp
|
354
|
-
\fBExamples\fP
|
355
|
-
.sp
|
356
|
-
To view a list of roles on the Chef server and display the URI for each role returned, enter:
|
357
|
-
.INDENT 0.0
|
358
|
-
.INDENT 3.5
|
359
|
-
.sp
|
360
|
-
.nf
|
361
|
-
.ft C
|
362
|
-
$ knife role list \-w
|
363
|
-
.ft P
|
364
|
-
.fi
|
365
|
-
.UNINDENT
|
366
|
-
.UNINDENT
|
367
|
-
.SH SHOW
|
368
|
-
.sp
|
369
|
-
The \fBshow\fP argument is used to view the details of a role.
|
370
|
-
.sp
|
371
|
-
\fBSyntax\fP
|
372
|
-
.sp
|
373
|
-
This argument has the following syntax:
|
374
|
-
.INDENT 0.0
|
375
|
-
.INDENT 3.5
|
376
|
-
.sp
|
377
|
-
.nf
|
378
|
-
.ft C
|
379
|
-
$ knife role show ROLE_NAME
|
380
|
-
.ft P
|
381
|
-
.fi
|
382
|
-
.UNINDENT
|
383
|
-
.UNINDENT
|
384
|
-
.sp
|
385
|
-
\fBOptions\fP
|
386
|
-
.sp
|
387
|
-
This argument has the following options:
|
388
|
-
.INDENT 0.0
|
389
|
-
.TP
|
390
|
-
.B \fB\-a ATTR\fP, \fB\-\-attribute ATTR\fP
|
391
|
-
The attribute (or attributes) to show.
|
392
|
-
.UNINDENT
|
393
|
-
.sp
|
394
|
-
\fBExamples\fP
|
395
|
-
.sp
|
396
|
-
To view information in JSON format, use the \fB\-F\fP common option as part of the command like this:
|
397
|
-
.INDENT 0.0
|
398
|
-
.INDENT 3.5
|
399
|
-
.sp
|
400
|
-
.nf
|
401
|
-
.ft C
|
402
|
-
$ knife role show devops \-F json
|
403
|
-
.ft P
|
404
|
-
.fi
|
405
|
-
.UNINDENT
|
406
|
-
.UNINDENT
|
407
|
-
.sp
|
408
|
-
Other formats available include \fBtext\fP, \fByaml\fP, and \fBpp\fP\&.
|
409
|
-
.sp
|
410
|
-
To view information in JSON format, use the \fB\-F\fP common option as part of the command like this:
|
411
|
-
.INDENT 0.0
|
412
|
-
.INDENT 3.5
|
413
|
-
.sp
|
414
|
-
.nf
|
415
|
-
.ft C
|
416
|
-
$ knife role show devops \-F json
|
417
|
-
.ft P
|
418
|
-
.fi
|
419
|
-
.UNINDENT
|
420
|
-
.UNINDENT
|
421
|
-
.sp
|
422
|
-
Other formats available include \fBtext\fP, \fByaml\fP, and \fBpp\fP\&.
|
423
|
-
.SH AUTHOR
|
424
|
-
Chef
|
425
|
-
.\" Generated by docutils manpage writer.
|
426
|
-
.
|