diff options
author | mh <mh@immerda.ch> | 2010-12-31 11:55:38 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-12-31 12:53:55 +0100 |
commit | 7e7eb1d652a97b73e09c26c5c04e21e80d8706ab (patch) | |
tree | 2333866762e58319108201138c262d6acaca4a5d /lib | |
parent | b5e2aff27ba8711a187b1a4d73380aeeb4387c42 (diff) |
rather directly read the file than use the puppet function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/functions/tfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/tfile.rb b/lib/puppet/parser/functions/tfile.rb index 2e792f9..a984892 100644 --- a/lib/puppet/parser/functions/tfile.rb +++ b/lib/puppet/parser/functions/tfile.rb @@ -14,5 +14,5 @@ Puppet::Parser::Functions::newfunction( require 'fileutils' FileUtils.touch(path) end - function_file([path]) + File.read(path) end |