Sha256: 70205da5f3ee8b93dc57b39c897ae0c402188b90f8e54e32eb992b9c7aa9982c

Contents?: true

Size: 410 Bytes

Versions: 99

Compression:

Stored size: 410 Bytes

Contents

# 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

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
facter-2.5.1-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.1-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.1-universal-darwin lib/facter/xendomains.rb
facter-2.5.0 lib/facter/xendomains.rb
facter-2.5.0-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.0-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.0-universal-darwin lib/facter/xendomains.rb
facter-2.4.6 lib/facter/xendomains.rb
facter-2.4.6-x86-mingw32 lib/facter/xendomains.rb
facter-2.4.6-x64-mingw32 lib/facter/xendomains.rb
facter-2.4.6-universal-darwin lib/facter/xendomains.rb
facter-2.4.5 lib/facter/xendomains.rb
facter-2.4.5-x86-mingw32 lib/facter/xendomains.rb
facter-2.4.5-x64-mingw32 lib/facter/xendomains.rb
facter-2.4.5-universal-darwin lib/facter/xendomains.rb
facter-2.4.4 lib/facter/xendomains.rb
facter-2.4.4-x86-mingw32 lib/facter/xendomains.rb
facter-2.4.4-x64-mingw32 lib/facter/xendomains.rb
facter-2.4.4-universal-darwin lib/facter/xendomains.rb
facter-2.4.3 lib/facter/xendomains.rb