# File lib/puppet/parser/templatewrapper.rb, line 70
70:   def file=(filename)
71:     unless @file = Puppet::Parser::Files.find_template(filename, scope.compiler.environment.to_s)
72:       raise Puppet::ParseError, "Could not find template '#{filename}'"
73:     end
74: 
75:     # We'll only ever not have a parser in testing, but, eh.
76:     scope.known_resource_types.watch_file(file)
77: 
78:     @string = File.read(file)
79:   end