summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_auto_run.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-09-28 16:17:00 -0700
committerTim Smith <tsmith@chef.io>2021-09-28 16:17:00 -0700
commit787c2ae702ae78b926bbd5d4bb7fa84ba1943d49 (patch)
tree5fecc35dd94eb54228ec4d210b8bbb3a215761c8 /lib/chef/resource/windows_auto_run.rb
parent218175c219a9661509c6376f67639deba182308b (diff)
downloadchef-heredoc_indent.tar.gz
Improve heredoc readbility with indentsheredoc_indent
This makes the examples much easier to read. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/windows_auto_run.rb')
-rw-r--r--lib/chef/resource/windows_auto_run.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/windows_auto_run.rb b/lib/chef/resource/windows_auto_run.rb
index 9e46b58b53..aef7b5f382 100644
--- a/lib/chef/resource/windows_auto_run.rb
+++ b/lib/chef/resource/windows_auto_run.rb
@@ -28,15 +28,15 @@ class Chef
description "Use the **windows_auto_run** resource to set applications to run at login."
introduced "14.0"
examples <<~DOC
- **Run BGInfo at login**
+ **Run BGInfo at login**
- ```ruby
- windows_auto_run 'BGINFO' do
- program 'C:/Sysinternals/bginfo.exe'
- args '\'C:/Sysinternals/Config.bgi\' /NOLICPROMPT /TIMER:0'
- action :create
- end
- ```
+ ```ruby
+ windows_auto_run 'BGINFO' do
+ program 'C:/Sysinternals/bginfo.exe'
+ args '\'C:/Sysinternals/Config.bgi\' /NOLICPROMPT /TIMER:0'
+ action :create
+ end
+ ```
DOC
property :program_name, String,