summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-11-03 14:33:25 -0800
committerTim Smith <tsmith84@gmail.com>2020-11-03 14:33:25 -0800
commit407cebdcec68308434d184d809189c777c86e11e (patch)
tree10497ccaf3ae1b535fe9bc460d6e7b2fa8365b60
parent05345273272d25aae718ea330abd4cc5f7454cf7 (diff)
downloadchef-407cebdcec68308434d184d809189c777c86e11e.tar.gz
A bit more formatting
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/execute.rb2
-rw-r--r--lib/chef/resource/ksh.rb2
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"