summaryrefslogtreecommitdiff
path: root/lib/chef/provider/apt_update.rb
diff options
context:
space:
mode:
authorPeter Walz <pnw@umn.edu>2016-09-23 11:00:12 -0500
committerPeter Walz <pnw@umn.edu>2016-09-23 11:04:20 -0500
commit63624a13e6fcbe313eb956eceab5d406bea5edfb (patch)
tree071e883f421cb61de345995217da3946a93eaaca /lib/chef/provider/apt_update.rb
parentbfb5e019f49305b5024e065b2d9eafcd87cf9c38 (diff)
downloadchef-63624a13e6fcbe313eb956eceab5d406bea5edfb.tar.gz
Add trailing newline to generated 15update-stamp (obvious fix)
Diffstat (limited to 'lib/chef/provider/apt_update.rb')
-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