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
bolt-0.17.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.16.4 vendored/facter/lib/facter/xendomains.rb
bolt-0.16.3 vendored/facter/lib/facter/xendomains.rb
bolt-0.16.2 vendored/facter/lib/facter/xendomains.rb
bolt-0.16.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.16.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.15.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.14.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.13.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.12.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.11.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.10.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.9.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.8.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.7.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.6.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.6.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.5.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.5.0 vendored/facter/lib/facter/xendomains.rb
facter-2.5.1 lib/facter/xendomains.rb