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 400e1967e0c96718f84733728d6c8d621f25963a..e632bcfd49dbd93f8dafd1caf4c09276b90aa01d 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