more backticks

This commit is contained in:
Alex Pop 2016-04-11 18:01:26 +01:00 committed by Alex Pop
parent 3893393f16
commit f062c9c9d9

View file

@ -43,7 +43,7 @@ The |ruby| code can be slightly changed in order to parse the |csv| content from
end
end
Similarly, using ```ls``` or `system('ls')` will result in the `ls` command being run locally and not on the target system.
Similarly, using ```ls``` or ``system('ls')`` will result in the `ls` command being run locally and not on the target system.
In order to process the output of `ls` executed on the target system, use `inspec.command('ls')` or `inspec.powershell('ls')`
You can also use |ruby| variables and logic to instantiate an |inspec| resource once. For example, run a command and use the content in multiple tests: