From: Tom Hughes Date: Sat, 23 Nov 2013 20:44:12 +0000 (+0000) Subject: Make edit_file work again X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7b2e5c20165878df65a244b7eb34bf6ac1b35782?hp=d6519b0543e8a88903a308c4b6f1f277625497eb Make edit_file work again --- diff --git a/cookbooks/chef/libraries/edit_file.rb b/cookbooks/chef/libraries/edit_file.rb index 400e1967e..e632bcfd4 100644 --- a/cookbooks/chef/libraries/edit_file.rb +++ b/cookbooks/chef/libraries/edit_file.rb @@ -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