# File lib/puppet/provider/nameservice/directoryservice.rb, line 312 312: def self.get_password(guid) 313: password_hash = nil 314: password_hash_file = "#{@@password_hash_dir}/#{guid}" 315: if File.exists?(password_hash_file) and File.file?(password_hash_file) 316: fail("Could not read password hash file at #{password_hash_file}") if not File.readable?(password_hash_file) 317: f = File.new(password_hash_file) 318: password_hash = f.read 319: f.close 320: end 321: password_hash 322: end