summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-10-28 16:20:18 -0700
committerGitHub <noreply@github.com>2020-10-28 16:20:18 -0700
commit27094b09288f20d689ce998c3744c8ce3ca1e3ae (patch)
tree263d374a93639b1ab7fe243aa13aae86ff33a5be /lib/chef/resource
parente3ff3eee501106bd9b0073c59f3a4d305bb618a1 (diff)
downloadchef-27094b09288f20d689ce998c3744c8ce3ca1e3ae.tar.gz
Update lib/chef/resource/systemd_unit.rb
Co-authored-by: pete higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/systemd_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/systemd_unit.rb b/lib/chef/resource/systemd_unit.rb
index f5bd0c5643..b028214441 100644
--- a/lib/chef/resource/systemd_unit.rb
+++ b/lib/chef/resource/systemd_unit.rb
@@ -55,7 +55,7 @@ class Chef
```ruby
systemd_unit 'sysstat-collect.timer' do
- content <<-EOU.gsub(/^\s+/, '')
+ content <<~EOU
[Unit]
Description=Run system activity accounting tool every 10 minutes