Sha256: fec715c0fca701117469d092746916e4c6abba2f7acd591ce226ceccebff6ae9

Contents?: true

Size: 500 Bytes

Versions: 2

Compression:

Stored size: 500 Bytes

Contents

module CORL
module Action
class Facts < Plugin::CloudAction
 
  #-----------------------------------------------------------------------------
  # Settings

  #-----------------------------------------------------------------------------
  # Operations
   
  def execute
    super do |node, network|
      ensure_node(node) do
        facter_facts = Config.facts
      
        ui.info(Util::Data.to_json(facter_facts, true))
        myself.result = facter_facts
      end
    end
  end
end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
corl-0.4.28 lib/CORL/action/facts.rb
corl-0.4.27 lib/CORL/action/facts.rb