diff options
author | Lamont Granquist <lamont@opscode.com> | 2012-08-23 16:10:15 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2012-08-28 14:57:45 -0700 |
commit | 844f8b5662f593fc4a04f1749f76cccd517cdcbd (patch) | |
tree | 3e0855579e4c1468fd27e0d4b7f3aee2fe746222 | |
parent | f1400d71b8253f8112e5cf09645f3956c0a5e46b (diff) | |
download | chef-844f8b5662f593fc4a04f1749f76cccd517cdcbd.tar.gz |
syntax fixes to get diff posted
-rw-r--r-- | chef/lib/chef/provider/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/file.rb b/chef/lib/chef/provider/file.rb index 689138f8af..3f807bfe05 100644 --- a/chef/lib/chef/provider/file.rb +++ b/chef/lib/chef/provider/file.rb @@ -97,7 +97,7 @@ class Chef else val = result.stdout.split("\n") val.delete("\\ No newline at end of file") - @new_resource.diff = val + @new_resource.diff(val.join("\\n")) val end elsif not result.stderr.empty? |