whoami7 - Manager
:
/
proc
/
self
/
root
/
usr
/
local
/
rvm
/
gems
/
ruby-2.1.10@system
/
gems
/
facter-1.7.6
/
lib
/
facter
/
Upload File:
files >> //proc/self/root/usr/local/rvm/gems/ruby-2.1.10@system/gems/facter-1.7.6/lib/facter/xendomains.rb
# Fact: xendomains # # Purpose: Return the list of Xen domains on the Dom0. # # Resolution: # On a Xen Dom0 host, return a list of Xen domains using the 'util/xendomains' # library. # # Caveats: # require 'facter/util/xendomains' Facter.add("xendomains") do confine :kernel => %w{Linux FreeBSD OpenBSD SunOS} confine :virtual => 'xen0' setcode do Facter::Util::Xendomains.get_domains end end
Copyright ©2021 || Defacer Indonesia