23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/chef/knife/cloud/openstack_service_options.rb', line 23
def self.included(includer)
includer.class_eval do
include FogOptions
option :openstack_username,
short: "-A USERNAME",
long: "--openstack-username KEY",
description: "Your OpenStack Username"
option :openstack_password,
short: "-K SECRET",
long: "--openstack-password SECRET",
description: "Your OpenStack Password"
option :openstack_tenant,
short: "-T NAME",
long: "--openstack-tenant NAME",
description: "Your OpenStack Tenant NAME"
option :openstack_auth_url,
long: "--openstack-api-endpoint ENDPOINT",
description: "Your OpenStack API endpoint"
option :openstack_endpoint_type,
long: "--openstack-endpoint-type ENDPOINT_TYPE",
description: "OpenStack endpoint type to use (publicURL, internalURL, adminURL)"
option :openstack_insecure,
long: "--insecure",
description: "Ignore SSL certificate on the Auth URL",
boolean: true,
default: false
end
end
|