diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-18 16:25:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 16:25:18 -0700 |
commit | bf81c54548d21789e08752451b80cf98088b9211 (patch) | |
tree | ece39638a94ae23e06f6d4749c6dae4be63dcb97 | |
parent | 4f03c043d749f6caab625b27dd2d65f6f81ecfdd (diff) | |
download | chef-bf81c54548d21789e08752451b80cf98088b9211.tar.gz |
Update lib/chef/resource/timezone.rb
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-authored-by: pete higgins <pete@peterhiggins.org>
-rw-r--r-- | lib/chef/resource/timezone.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/chef/resource/timezone.rb b/lib/chef/resource/timezone.rb index 01d6967283..2be963cf55 100644 --- a/lib/chef/resource/timezone.rb +++ b/lib/chef/resource/timezone.rb @@ -149,7 +149,10 @@ class Chef group "root" mode "0644" action :create - content %{ZONE="#{new_resource.timezone}"\nUTC="true"\n} + content <<~CONTENT + ZONE="#{new_resource.timezone}" + UTC="true" + CONTENT end execute "tzdata-update" do |