knife-cloudstack-fog 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -10,13 +10,13 @@ Be sure you are running the latest version Chef. Versions earlier than 0.10.0 do
10
10
 
11
11
  $ gem install chef
12
12
 
13
- Also ensure you are running the latest version of Fog. Versions earlier than 1.0.0 don't support Cloudstack Cloud:
13
+ Also ensure you are running the latest version of Fog. Versions earlier than 1.3.1 don't fully support Cloudstack Cloud:
14
14
 
15
15
  $ gem update fog
16
16
 
17
17
  This plugin is distributed as a Ruby Gem. To install it, run:
18
18
 
19
- $ gem install knife-cloudstack
19
+ $ gem install knife-cloudstack-fog
20
20
 
21
21
  Depending on your system's configuration, you may need to run this command with root privileges.
22
22
 
@@ -109,6 +109,11 @@ class Chef
109
109
  :long => "--server-name NAME",
110
110
  :description => "The server name"
111
111
 
112
+ option :host_name,
113
+ :short => "-H NAME",
114
+ :long => "--hostname NAME",
115
+ :description => "The hostname"
116
+
112
117
  option :keypair,
113
118
  :short => "-k KEYPAIR",
114
119
  :long => "--keypair KEYPAIR",
@@ -181,6 +186,10 @@ class Chef
181
186
  if locate_config_value(:server_name) != nil
182
187
  options['displayname'] = locate_config_value(:server_name)
183
188
  end
189
+
190
+ if locate_config_value(:host_name) != nil
191
+ options['name'] = locate_config_value(:host_name)
192
+ end
184
193
 
185
194
  security_groups = []
186
195
  if locate_config_value(:cloudstack_groupids) != []
@@ -272,4 +281,4 @@ class Chef
272
281
 
273
282
  end
274
283
  end
275
- end
284
+ end
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Cloudstack
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cloudstack-fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-27 00:00:00.000000000 Z
13
+ date: 2012-05-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fog