Sha256: 21cdd13a80e4224ba035c403c614b718f88da866646f71c38e1444a7a4f244a4

Contents?: true

Size: 156 Bytes

Versions: 77

Compression:

Stored size: 156 Bytes

Contents

# frozen_string_literal: true

module LegacyFacter
  module Util
    module Root
      def self.root?
        Process.uid.zero?
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
facter-4.2.10 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.9 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.8 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.7 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.6 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.5 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.4 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.3 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.2 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.1 lib/facter/custom_facts/util/unix_root.rb
facter-4.2.0 lib/facter/custom_facts/util/unix_root.rb
facter-4.1.1 lib/facter/custom_facts/util/unix_root.rb
facter-4.1.0 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.52 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.51 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.50 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.49 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.48 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.47 lib/facter/custom_facts/util/unix_root.rb
facter-4.0.46 lib/facter/custom_facts/util/unix_root.rb