diff --git a/lib/puppet/type/concat_file.rb b/lib/puppet/type/concat_file.rb index 59e5c6f85..6a6225e3b 100644 --- a/lib/puppet/type/concat_file.rb +++ b/lib/puppet/type/concat_file.rb @@ -142,7 +142,7 @@ def fragment_content(r) end if self[:ensure_newline] - fragment_content<<"\n" + fragment_content<<"\n" unless fragment_content =~ /\n$/ end fragment_content