factor-connector-rackspace 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c9716d20c7d4ae74a1db243c2c61ed03d43e74f
4
- data.tar.gz: c93faf8957fa2f0357a96036dccc3c84c71392b0
3
+ metadata.gz: fd086fcede3fd0b90313daeca1ecb16c1d2c0d75
4
+ data.tar.gz: 74b081e21aad2ae72c97eae57b98207e7ece6423
5
5
  SHA512:
6
- metadata.gz: e0aaf9fa424685ba3b065c815f4845b6a2588a9d9758d768d724e83c158bef917c2c0577897a1b560d5ed5cae8278fd74b168761411c091a458f6416f197922a
7
- data.tar.gz: 32a97f965a4746277aa3bae5e04a657cfae3535e75ad1ac1bf3eef6d3382a7736664f626245f2b75df8fa2dd77cbb2d03ec045cde21678ffdc18873010c2485e
6
+ metadata.gz: a5914c0905ff1d789ce61598aea42658427a5032622a2fc673d88091da571b1531b7a06b8307012b35df1a62f4d43a5e0e1077eef19f2a888d597dc51267de9d
7
+ data.tar.gz: 80daffd7883613d7997415969e72ca219393d3692012fd57b051ff2ac2b89cb1045becda625706e696dff77b2b31752a916b2c6e47fab81cf9efef56acc14b46
@@ -74,8 +74,8 @@ Factor::Connector.service 'rackspace_compute' do
74
74
  action 'create' do |params|
75
75
  username = params['username']
76
76
  api_key = params['api_key']
77
- flavor_id = params['flavor_id']
78
- image_id = params['image_id']
77
+ flavor_id = params['flavor_id'] || params['flavor']
78
+ image_id = params['image_id'] || params['image']
79
79
  region = (params['region'] || 'ord').to_sym
80
80
  name = params['name']
81
81
  wait = params['wait']
@@ -135,8 +135,8 @@ Factor::Connector.service 'rackspace_compute' do
135
135
  action 'bootstrap' do |params|
136
136
  username = params['username']
137
137
  api_key = params['api_key']
138
- flavor_id = params['flavor_id']
139
- image_id = params['image_id']
138
+ flavor_id = params['flavor_id'] || params['flavor']
139
+ image_id = params['image_id'] || params['image']
140
140
  private_key = params['private_key']
141
141
  public_key = params['public_key']
142
142
  region = (params['region'] || 'ord').to_sym
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factor-connector-rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Skierkowski