module Opsmgr::Renderer

Public Class Methods

for(settings_file_contents) click to toggle source
# File lib/opsmgr/renderer.rb, line 6
def self.for(settings_file_contents)
  case YAML.load(settings_file_contents)['iaas_type']
  when 'aws'
    AWS.new(settings_file_contents)
  else
    Noop.new(settings_file_contents)
  end
end