summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-08-23 22:00:19 -0500
committerLuke Kanies <luke@madstop.com>2008-08-26 22:40:40 -0700
commita0bda8532f5e1e9f5bb29eb92f389383ae0857d5 (patch)
treed72d17177926d38773c30614ba52f94ae64ea33b /lib/puppet
parent6335b143a312481aaa200f71cd25dffd4f88c8ae (diff)
downloadpuppet-a0bda8532f5e1e9f5bb29eb92f389383ae0857d5.tar.gz
puppet-a0bda8532f5e1e9f5bb29eb92f389383ae0857d5.tar.xz
puppet-a0bda8532f5e1e9f5bb29eb92f389383ae0857d5.zip
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 <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/file_serving/content.rb8
1 files changed, 0 insertions, 8 deletions
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