Method: Puppet::Parser::Parser#watch_file
- Defined in:
- lib/vendor/puppet/parser/parser_support.rb
#watch_file(filename) ⇒ Object
Add a new file to be checked when we’re checking to see if we should be reparsed. This is basically only used by the TemplateWrapper to let the parser know about templates that should be parsed.
208 209 210 |
# File 'lib/vendor/puppet/parser/parser_support.rb', line 208 def watch_file(filename) known_resource_types.watch_file(filename) end |