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.21.7 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.6 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.5 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.4 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.3 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.2 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.21.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.20.7 vendored/facter/lib/facter/xendomains.rb
bolt-0.20.6 vendored/facter/lib/facter/xendomains.rb
bolt-0.20.5 vendored/facter/lib/facter/xendomains.rb
bolt-0.20.3 vendored/facter/lib/facter/xendomains.rb
bolt-0.20.2 vendored/facter/lib/facter/xendomains.rb
bolt-0.19.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.19.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.18.2 vendored/facter/lib/facter/xendomains.rb
bolt-0.18.1 vendored/facter/lib/facter/xendomains.rb
bolt-0.18.0 vendored/facter/lib/facter/xendomains.rb
bolt-0.17.2 vendored/facter/lib/facter/xendomains.rb
bolt-0.17.1 vendored/facter/lib/facter/xendomains.rb