whoami7 - Manager
:
/
proc
/
self
/
root
/
usr
/
local
/
rvm
/
gems
/
ruby-2.1.10@system
/
gems
/
facter-2.4.6
/
lib
/
facter
/
Upload File:
files >> //proc/self/root/usr/local/rvm/gems/ruby-2.1.10@system/gems/facter-2.4.6/lib/facter/osfamily.rb
# Fact: osfamily # # Purpose: Returns the operating system # # Resolution: # Uses the family key of the os structured fact, which itself # maps operating systems to operating system families, such as Linux # distribution derivatives. Adds mappings from specific operating systems # to kernels in the case that it is relevant. # # Caveats: # This fact is completely reliant on the operatingsystem fact, and no # heuristics are used. # Facter.add(:osfamily) do setcode { Facter.value("os")["family"] } end
Copyright ©2021 || Defacer Indonesia