lib/puppet/pops/parser/parser_support.rb in puppet-3.3.2 vs lib/puppet/pops/parser/parser_support.rb in puppet-3.4.0.rc1
- old
+ new
@@ -61,10 +61,10 @@
raise except
end
# Parses a file expected to contain pp DSL logic.
def parse_file(file)
- unless FileTest.exist?(file)
+ unless Puppet::FileSystem::File.exist?(file)
unless file =~ /\.pp$/
file = file + ".pp"
end
end
@lexer.file = file