blob: 3c2fd15a1c562624e07ceecc5a70248dcb42c9f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
=====================================================
knife diff
=====================================================
.. include:: ../../includes_knife/includes_knife_diff.rst
Syntax
=====================================================
.. include:: ../../includes_knife/includes_knife_diff_syntax.rst
Options
=====================================================
.. note:: Review the list of :doc:`common options </knife_common_options>` available to this (and all) |knife| subcommands and plugins.
.. include:: ../../includes_knife/includes_knife_diff_options.rst
knife.rb Settings
-----------------------------------------------------
.. note:: See :doc:`knife.rb </config_rb_knife>` for more information about how to add optional settings to the |knife rb| file.
.. include:: ../../includes_knife/includes_knife_diff_settings.rst
Examples
=====================================================
The following examples show how to use this |knife| subcommand:
**Compare files that contain JSON data**
.. include:: ../../step_knife/step_knife_diff_compare_json_files.rst
**Compare the chef-repo and the server**
.. include:: ../../step_knife/step_knife_diff_compare_repo_and_server.rst
**Compare, then return results**
.. include:: ../../step_knife/step_knife_diff_compare_then_return_results.rst
|