summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-10-04 11:58:47 +0100
committerGitHub <noreply@github.com>2016-10-04 11:58:47 +0100
commitf33deece4b704437cb6ead06d1dc24414126150e (patch)
treeb8b7920a0e57cc565c8d5d02156bd2f69704d8b2
parent00592d7b8ffe80896e6aef341247f980b7f49d1d (diff)
parent63624a13e6fcbe313eb956eceab5d406bea5edfb (diff)
downloadchef-f33deece4b704437cb6ead06d1dc24414126150e.tar.gz
Merge pull request #5382 from pwalz/fix-15update-stamp
Add trailing newline to generated 15update-stamp
-rw-r--r--lib/chef/provider/apt_update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb
index 0320e9a83f..baa763df9d 100644
--- a/lib/chef/provider/apt_update.rb
+++ b/lib/chef/provider/apt_update.rb
@@ -73,7 +73,7 @@ class Chef
end
declare_resource(:file, "#{APT_CONF_DIR}/15update-stamp") do
- content "APT::Update::Post-Invoke-Success {\"touch #{STAMP_DIR}/update-success-stamp 2>/dev/null || true\";};"
+ content "APT::Update::Post-Invoke-Success {\"touch #{STAMP_DIR}/update-success-stamp 2>/dev/null || true\";};\n"
action :create_if_missing
end