knife-cloudstack-fog 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -94,7 +94,7 @@ Outputs a list of all available disk offerings available to the currently config
94
94
 
95
95
  = LICENSE:
96
96
 
97
- Author:: Chirag Jog (<chirag@clogeny.com>), Jeff Moody (<jmoody@datapipe.com>)
97
+ Author:: Chirag Jog (<chirag@clogeny.com>), Jeff Moody (<jmoody@datapipe.com>), dfuentes77, Takashi Kanai (<anikundesu@gmail.com>)
98
98
  Copyright:: Copyright (c) 2011 Clogeny, 2012 Datapipe
99
99
  License:: Apache License, Version 2.0
100
100
 
@@ -1,10 +1,6 @@
1
1
  #
2
- # Author:: Chirag Jog (<chirag@clogeny.com>)
3
- # Copyright:: Copyright (c) 2011 Clogeny Technologies.
4
- # License:: Apache License, Version 2.0
5
- #
6
- # Author:: Jeff Moody (<jmoody@datapipe.com>)
7
- # Copyright:: Copyright (c) 2012 Datapipe
2
+ # Author:: Chirag Jog (<chirag@clogeny.com>), Jeff Moody (<jmoody@datapipe.com>)
3
+ # Copyright:: Copyright (c) 2011 Clogeny Technologies, Copyright (c) 2012 Datapipe
8
4
  # License:: Apache License, Version 2.0
9
5
  #
10
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
- # Author:: Jeff Moody (<jmoody@datapipe.com>)
2
- # Copyright:: Copyright (c) 2012 Datapipe
1
+ # Author:: Jeff Moody (<jmoody@datapipe.com>), Takashi Kanai (<anikundesu@gmail.com>)
2
+ # Copyright:: Copyright (c) 2012 Datapipe, Copyright (c) 2012 IDC Frontier Inc.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -96,7 +96,12 @@ class Chef
96
96
  :short => "-P PASSWORD",
97
97
  :long => "--ssh-password PASSWORD",
98
98
  :description => "The ssh password"
99
-
99
+
100
+ option :identity_file,
101
+ :short => "-i PRIVATE_KEY_FILE",
102
+ :long => "--identity-file PRIVATE_KEY_FILE",
103
+ :description => "The Private key file for authenticating SSH session. --keypair option is also needed."
104
+
100
105
  option :server_name,
101
106
  :short => "-N NAME",
102
107
  :long => "--server-name NAME",
@@ -110,7 +115,7 @@ class Chef
110
115
  option :keypair,
111
116
  :short => "-k KEYPAIR",
112
117
  :long => "--keypair KEYPAIR",
113
- :description => "The CloudStack Key Pair to use for password generation/storage"
118
+ :description => "The CloudStack Key Pair to use for SSH key authentication."
114
119
 
115
120
  option :diskoffering,
116
121
  :short => "-D DISKOFFERINGID",
@@ -203,7 +208,7 @@ class Chef
203
208
  security_groups.push(id)
204
209
  end
205
210
  options['securitygroupids'] = security_groups
206
- else
211
+ elsif locate_config_value(:cloudstack_groupnames) != []
207
212
  cs_groupnames = locate_config_value(:cloudstack_groupnames)
208
213
  cs_groupnames.each do |name|
209
214
  security_groups.push(name)
@@ -228,7 +233,7 @@ class Chef
228
233
  print "#{ui.color("Waiting for server", :magenta)}"
229
234
  while server_start['queryasyncjobresultresponse'].fetch('jobstatus') != 1
230
235
  print "#{ui.color(".", :magenta)}"
231
- sleep(1)
236
+ sleep(15)
232
237
  server_start = connection.query_async_job_result('jobid'=>jobid)
233
238
  end
234
239
  puts "\n\n"
@@ -1,9 +1,5 @@
1
- # Author:: Chirag Jog (<chirag@clogeny.com>)
2
- # Copyright:: Copyright (c) 2011 Clogeny Technologies.
3
- # License:: Apache License, Version 2.0
4
- #
5
- # Author:: Jeff Moody (<jmoody@datapipe.com>)
6
- # Copyright:: Copyright (c) 2012 Datapipe
1
+ # Author:: Chirag Jog (<chirag@clogeny.com>), Jeff Moody (<jmoody@datapipe.com>)
2
+ # Copyright:: Copyright (c) 2011 Clogeny Technologies, Copyright (c) 2012 Datapipe
7
3
  # License:: Apache License, Version 2.0
8
4
  #
9
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,10 +1,7 @@
1
- # Author:: Chirag Jog (<chirag@clogeny.com>)
2
- # Copyright:: Copyright (c) 2011 Clogeny Technologies.
1
+ # Author:: Chirag Jog (<chirag@clogeny.com>), Jeff Moody (<jmoody@datapipe.com>), dfuentes77
2
+ # Copyright:: Copyright (c) 2011 Clogeny Technologies, Copyright (c) 2012 Datapipe
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
- # Author:: Jeff Moody (<jmoody@datapipe.com>)
6
- # Copyright:: Copyright (c) 2012 Datapipe
7
- # License:: Apache License, Version 2.0
8
5
  #
9
6
  # Licensed under the Apache License, Version 2.0 (the "License");
10
7
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Cloudstack
3
- VERSION = "0.2.14"
3
+ VERSION = "0.2.15"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,16 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cloudstack-fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Chirag Jog
9
9
  - Jeff Moody
10
+ - dfuentes77
11
+ - Takashi Kanai
10
12
  autorequire:
11
13
  bindir: bin
12
14
  cert_chain: []
13
- date: 2012-08-07 00:00:00.000000000 Z
15
+ date: 2012-08-22 00:00:00.000000000 Z
14
16
  dependencies:
15
17
  - !ruby/object:Gem::Dependency
16
18
  name: fog
@@ -33,6 +35,8 @@ description: Support for the Chef Knife command, leveraging FOG, for the Citrix
33
35
  email:
34
36
  - chirag@clogeny.com
35
37
  - jmoody@datapipe.com
38
+ - ''
39
+ - anikundesu@gmail.com
36
40
  executables: []
37
41
  extensions: []
38
42
  extra_rdoc_files: