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.7 lib/facter/xendomains.rb
facter-2.5.7-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.7-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.7-universal-darwin lib/facter/xendomains.rb
facter-2.5.6-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.6-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.6-universal-darwin lib/facter/xendomains.rb
facter-2.5.6 lib/facter/xendomains.rb
facter-2.5.5-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.5-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.5-universal-darwin lib/facter/xendomains.rb
facter-2.5.5 lib/facter/xendomains.rb
facter-2.5.4-x86-mingw32 lib/facter/xendomains.rb
facter-2.5.4-x64-mingw32 lib/facter/xendomains.rb
facter-2.5.4-universal-darwin lib/facter/xendomains.rb
facter-2.5.4 lib/facter/xendomains.rb
bolt-0.24.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.23.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.22.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.8 vendored/facter/lib/facter/xendomains.rb