summaryrefslogtreecommitdiff
path: root/lib/chef/resource/batch.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-04-27 10:16:52 -0700
committerTim Smith <tsmith@chef.io>2018-04-27 10:16:52 -0700
commit1907fff3be0f10ce26cadde8681fcd9b49c51481 (patch)
tree61e34df60bcf78753f314e52f365e60c977bc781 /lib/chef/resource/batch.rb
parentf0db2769459a215a4beeb7b6e6207d7c8a0efed3 (diff)
downloadchef-cleanup.tar.gz
Add missing periods and rely on word wrapcleanup
Just stick the descriptions on a single line so that we utilize large monitors. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/batch.rb')
-rw-r--r--lib/chef/resource/batch.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/resource/batch.rb b/lib/chef/resource/batch.rb
index 4e6d67aa2d..e3bff8145c 100644
--- a/lib/chef/resource/batch.rb
+++ b/lib/chef/resource/batch.rb
@@ -23,13 +23,7 @@ class Chef
class Batch < Chef::Resource::WindowsScript
provides :batch
- description "Use the batch resource to execute a batch script using the cmd.exe"\
- " interpreter on Windows. The batch resource creates and executes a"\
- " temporary file (similar to how the script resource behaves), rather"\
- " than running the command inline. 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."
+ description "Use the batch resource to execute a batch script using the cmd.exe interpreter on Windows. The batch resource creates and executes a temporary file (similar to how the script resource behaves), rather than running the command inline. 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."
def initialize(name, run_context = nil)
super(name, run_context, nil, "cmd.exe")