Module: Chef::Knife::Cloud::FogOptions

Defined in:
lib/chef/knife/cloud/fog/options.rb

Class Method Summary collapse

Class Method Details

.included(includer) ⇒ Object



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/chef/knife/cloud/fog/options.rb', line 11

def self.included(includer)
  includer.instance_eval do
    option :fog_version,
      long: "--fog-version version",
      description: "Fog gem version to use. Use the ruby gem version strings",
      default: ""

    option :api_endpoint,
      long: "--api-endpoint ENDPOINT",
      description: "Your API endpoint. Eg, for Eucalyptus it can be 'http://ecc.eucalyptus.com:8773/services/Eucalyptus'"

  end
end