lib/facter/resolvers/windows/identity.rb in facter-4.3.1 vs lib/facter/resolvers/windows/identity.rb in facter-4.4.0

- old
+ new

@@ -14,10 +14,10 @@ def post_resolve(fact_name, _options) @fact_list.fetch(fact_name) { retrieve_facts(fact_name) } end def find_username - require 'facter/resolvers/windows/ffi/identity_ffi' + require_relative '../../../facter/resolvers/windows/ffi/identity_ffi' size_ptr = FFI::MemoryPointer.new(:win32_ulong, 1) IdentityFFI::GetUserNameExW(NAME_SAM_COMPATIBLE, FFI::Pointer::NULL, size_ptr) if FFI.errno != ERROR_MORE_DATA @log.debug "failure resolving identity facts: #{FFI.errno}"