Sha256: 440fee9b0b8025a4708d09964eac7d16971edd81002e5bb976af6bf60885eb33

Contents?: true

Size: 273 Bytes

Versions: 67

Compression:

Stored size: 273 Bytes

Contents

# Onering Collector - OpenVZ Properties plugin
#   provides collection of OpenVZ metadata
#
report do
  vz_containers  = Facter.value('openvz_containers')
  vz = {}

# OpenVZ host
  vz[:@guests] = vz_containers if vz_containers

  property :openvz, vz unless vz.empty?
end

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
onering-report-0.6.13 lib/reporter/default/properties_openvz.rb
onering-report-0.6.12 lib/reporter/default/properties_openvz.rb
onering-report-0.6.11 lib/reporter/default/properties_openvz.rb
onering-report-0.6.10 lib/reporter/default/properties_openvz.rb
onering-report-0.6.9 lib/reporter/default/properties_openvz.rb
onering-report-0.6.8 lib/reporter/default/properties_openvz.rb
onering-report-0.6.7 lib/reporter/default/properties_openvz.rb
onering-report-0.6.6 lib/reporter/default/properties_openvz.rb
onering-report-0.6.5 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.65 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.64 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.63 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.62 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.61 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.60 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.59 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.58 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.57 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.56 lib/reporter/default/properties_openvz.rb
onering-report-plugins-0.0.55 lib/reporter/default/properties_openvz.rb