Sha256: 3f8c8a80fd3d0d556f076756278b4d4790fb9d11a3e464f6be64fc745e0a33de

Contents?: true

Size: 397 Bytes

Versions: 12

Compression:

Stored size: 397 Bytes

Contents

module Kurchatov

  module Ohai
    def self.data
      @ohai ||= ::Ohai::System.new
      Log.info("Load ohai plugins")
      @ohai.all_plugins
      @ohai.data
    end
  end

  module Mixin
    module Ohai
      class << self; attr_accessor :ohai_instance; end
      def ohai
        @ohai_instance ||= Kurchatov::Mixin::Ohai.ohai_instance ||= Kurchatov::Ohai.data
      end
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kurchatov-0.0.5.pre5 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.5.pre4 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.5.pre2 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.5.pre1 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.4 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.4d lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.4c lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.4b lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.3 lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.3b lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.3a lib/kurchatov/mixin/ohai.rb
kurchatov-0.0.1 lib/kurchatov/mixin/ohai.rb