From 407cebdcec68308434d184d809189c777c86e11e Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 3 Nov 2020 14:33:25 -0800 Subject: A bit more formatting Signed-off-by: Tim Smith --- lib/chef/resource/execute.rb | 2 +- lib/chef/resource/ksh.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index db6b84dfda..7a561209fc 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -27,7 +27,7 @@ class Chef provides :execute, target_mode: true - description "Use the **execute** resource to execute a single command. Commands that are executed with this resource are (by their nature) not idempotent, as they are typically unique to the environment in which they are run. Use not_if and only_if to guard this resource for idempotence. Note: Use the **script** resource to execute a script using a specific interpreter (Ruby, Python, Perl, csh, or Bash)." + description "Use the **execute** resource to execute a single command. Commands that are executed with this resource are (by their nature) not idempotent, as they are typically unique to the environment in which they are run. Use `not_if` and `only_if` to guard this resource for idempotence. Note: Use the **script** resource to execute a script using a specific interpreter (Ruby, Python, Perl, csh, or Bash)." examples <<~EXAMPLES **Run a command upon notification**: diff --git a/lib/chef/resource/ksh.rb b/lib/chef/resource/ksh.rb index 003905b200..28d71970e7 100644 --- a/lib/chef/resource/ksh.rb +++ b/lib/chef/resource/ksh.rb @@ -29,7 +29,7 @@ class Chef " interpreter. This resource may also use any of the actions and properties"\ " that are available to the **execute** resource. Commands that are executed"\ " with this resource are (by their nature) not idempotent, as they are"\ - " typically unique to the environment in which they are run. Use not_if"\ + " typically unique to the environment in which they are run. Use `not_if`"\ " and `only_if` to guard this resource for idempotence." introduced "12.6" -- cgit v1.2.1