Sha256: 23ba4481a077cabd7afda2c7c7afb9a62e9de5992bfc58f75b5ec2c180bda5f2
Contents?: true
Size: 712 Bytes
Versions: 7
Compression:
Stored size: 712 Bytes
Contents
# Copyright (c) 2012-2013 Stark & Wayne, LLC module Bosh; module CloudFoundry; end; end module Bosh::CloudFoundry::Providers extend self # returns a BOSH provider (CPI) specific object # with helpers related to that provider def for_bosh_provider_name(system_config) case system_config.bosh_provider.to_sym when :aws Bosh::CloudFoundry::Providers::AWS.new(system_config.microbosh.fog_compute) when :openstack Bosh::CloudFoundry::Providers::OpenStack.new(system_config.microbosh.fog_compute) else raise "please support #{system_config.bosh_provider} provider" end end end require "bosh-cloudfoundry/providers/aws" require "bosh-cloudfoundry/providers/openstack"
Version data entries
7 entries across 7 versions & 1 rubygems