Sha256: 3fa2871e92f8236a3254a2df73e6023840cd50e99cd52eaea1396477b876c533

Contents?: true

Size: 187 Bytes

Versions: 46

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

module LegacyFacter
  module Util
    module Root
      def self.root?
        Facter::Resolvers::Identity.resolve(:privileged)
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
facter-4.1.1 lib/facter/custom_facts/util/windows_root.rb
facter-4.1.0 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.52 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.51 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.50 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.49 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.48 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.47 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.46 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.44 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.43 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.42 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.41 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.40 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.39 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.38 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.37 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.36 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.35 lib/facter/custom_facts/util/windows_root.rb
facter-4.0.34 lib/facter/custom_facts/util/windows_root.rb