lib/puppet/feature/libuser.rb in puppet-3.3.2 vs lib/puppet/feature/libuser.rb in puppet-3.4.0.rc1
- old
+ new
@@ -2,7 +2,7 @@
require 'puppet/util/libuser'
Puppet.features.add(:libuser) {
File.executable?("/usr/sbin/lgroupadd") and
File.executable?("/usr/sbin/luseradd") and
- File.exists?(Puppet::Util::Libuser.getconf)
+ Puppet::FileSystem::File.exist?(Puppet::Util::Libuser.getconf)
}