From a0bda8532f5e1e9f5bb29eb92f389383ae0857d5 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Sat, 23 Aug 2008 22:00:19 -0500 Subject: Removing the yaml conversion code from FileContent. Also fixing some integration tests that were failing because of the change to the terminus selection code for file serving. Signed-off-by: Luke Kanies --- lib/puppet/file_serving/content.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') diff --git a/lib/puppet/file_serving/content.rb b/lib/puppet/file_serving/content.rb index 9398513e7..1114829f1 100644 --- a/lib/puppet/file_serving/content.rb +++ b/lib/puppet/file_serving/content.rb @@ -23,12 +23,4 @@ class Puppet::FileServing::Content < Puppet::FileServing::FileBase ::File.read(full_path()) end - - # Just return the file contents as the yaml. This allows us to - # avoid escaping or any such thing. LAK:NOTE Not really sure how - # this will behave if the file contains yaml... I think the far - # side needs to understand that it's a plain string. - def to_yaml - content - end end -- cgit