lib/puppet/util/network_device/config.rb in puppet-3.3.2 vs lib/puppet/util/network_device/config.rb in puppet-3.4.0.rc1
- old
+ new
@@ -13,10 +13,10 @@
end
attr_reader :devices
def exists?
- FileTest.exists?(@file)
+ Puppet::FileSystem::File.exist?(@file)
end
def initialize
@file = Puppet::Util::WatchedFile.new(Puppet[:deviceconfig])