Sha256: 44fd505aefbbcceb9a70e6c6693a0c96e1118b98cc31f2765bddb04a9d0bf4ad

Contents?: true

Size: 554 Bytes

Versions: 99

Compression:

Stored size: 554 Bytes

Contents

# Fact: zones_<ZONE>
#
# Purpose:
#   Return the list of zones on the system and add one zones_ fact
#   for each zone with its state e.g. `running`, `incomplete`, or `installed`.
#
# Resolution:
#   Uses `usr/sbin/zoneadm list -cp` to get the list of zones in separate parsable
#   lines with delimeter being `:` which is used to split the line string and get
#   the zone details.
#
# Caveats:
#   Only supported on Solaris 10 and up.
#
require 'facter/util/solaris_zones'
if Facter.value(:kernel) == 'SunOS'
  Facter::Util::SolarisZones.add_facts
end

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
facter-2.5.7 lib/facter/zones.rb
facter-2.5.7-x86-mingw32 lib/facter/zones.rb
facter-2.5.7-x64-mingw32 lib/facter/zones.rb
facter-2.5.7-universal-darwin lib/facter/zones.rb
facter-2.5.6-x86-mingw32 lib/facter/zones.rb
facter-2.5.6-x64-mingw32 lib/facter/zones.rb
facter-2.5.6-universal-darwin lib/facter/zones.rb
facter-2.5.6 lib/facter/zones.rb
facter-2.5.5-x86-mingw32 lib/facter/zones.rb
facter-2.5.5-x64-mingw32 lib/facter/zones.rb
facter-2.5.5-universal-darwin lib/facter/zones.rb
facter-2.5.5 lib/facter/zones.rb
facter-2.5.4-x86-mingw32 lib/facter/zones.rb
facter-2.5.4-x64-mingw32 lib/facter/zones.rb
facter-2.5.4-universal-darwin lib/facter/zones.rb
facter-2.5.4 lib/facter/zones.rb
bolt-0.24.0 vendored/facter/lib/facter/zones.rb
bolt-0.23.0 vendored/facter/lib/facter/zones.rb
bolt-0.22.0 vendored/facter/lib/facter/zones.rb
bolt-0.21.8 vendored/facter/lib/facter/zones.rb