Skip to content

Commit

Permalink
Update docs_user/modules/proc_pulling-configuration-from-a-tripleo-de…
Browse files Browse the repository at this point in the history
…ployment.adoc

Co-authored-by: klgill <[email protected]>
  • Loading branch information
matbu and klgill authored May 10, 2024
1 parent 8dd91b8 commit 6fe5e71
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,9 @@ With the `hosts` key, os-diff loops on each host and runs the command in the `se
hosts:
- standalone
----

The service_command is the command which provides the required information.
It could be a simple cat from a config file. cat_output should be set to true
if you want os-diff to get the output of the command and store the output in a file specified by the key path

Then you can provide a mapping between in this case the EDPM CRD, and the ovs-vsctl output with config_mapping

+
The `service_command` provides the required information. It could be a simple cat from a config file. If you want os-diff to get the output of the command and store the output in a file specified by the key path, set `cat_output` to true. Then you can provide a mapping between in this case the EDPM CRD, and the ovs-vsctl output with config_mapping:
+
----
service_command: 'ovs-vsctl list Open_vSwitch . | grep external_ids | awk -F '': '' ''{ print $2; }'''
cat_output: true
Expand Down

0 comments on commit 6fe5e71

Please sign in to comment.