factor-connector-rackspace 0.0.9 → 0.0.10
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.
- checksums.yaml +4 -4
- data/lib/factor/connector/rackspace_loadbalancers.rb +5 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a68b3308634a7a6812028af654263ee535a79813
|
|
4
|
+
data.tar.gz: 1a65d616b928bd00608614c7c0e54243460d1a59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cb48915e03214306178b62f320ed42832cbedd6d2977c12d3f04a0afb4f1d4236acb9b5e51656aea97e4dd3c4ba38f262752917f531afd951d0507796e7516e
|
|
7
|
+
data.tar.gz: 1c96bb067bbe50310ce25360036882afa4960232ab00f5e3500a041fa6933c2bfb55d0f42c0ac28372e89395a4467e1a600b7eda104890ff501388b868a9cd0f
|
|
@@ -147,15 +147,13 @@ Factor::Connector.service 'rackspace_loadbalancers' do
|
|
|
147
147
|
api_key = params['api_key']
|
|
148
148
|
region = (params['region'] || 'ord').to_sym
|
|
149
149
|
name = params['name']
|
|
150
|
-
protocol = params['protocol']
|
|
151
|
-
port = params['port']
|
|
152
|
-
ip_type = params['ip_type']
|
|
153
|
-
algorithm = params['algorithm']
|
|
154
|
-
wait = params['wait']
|
|
150
|
+
protocol = params['protocol'] || 'HTTP'
|
|
151
|
+
port = params['port'] || 80
|
|
152
|
+
ip_type = params['ip_type'] || 'PUBLIC'
|
|
153
|
+
algorithm = params['algorithm'] || 'RANDOM'
|
|
154
|
+
wait = params['wait'] || false
|
|
155
155
|
|
|
156
156
|
fail "Name (name) is required" unless name
|
|
157
|
-
fail "Protocol (protocol) is required" unless protocol
|
|
158
|
-
fail "Port (port) is required" unless port
|
|
159
157
|
fail "Username (username) is required" unless username
|
|
160
158
|
fail "API Key (api_key) is required" unless api_key
|
|
161
159
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: factor-connector-rackspace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maciej Skierkowski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: factor-connector-api
|