Make edit_file work again
authorTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 20:44:12 +0000 (20:44 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 20:44:12 +0000 (20:44 +0000)
cookbooks/chef/libraries/edit_file.rb

index 400e196..e632bcf 100644 (file)
@@ -16,7 +16,7 @@ class Chef
 
   class Recipe
     def edit_file(file, &block)
-      Chef::Util::EditedFile.new(file, block)
+      Chef::Util::EditedFile.new(file, block).to_s
     end
   end
 end