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