Classes: AWS, Noop
6 7 8 9 10 11 12 13
# 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