stacker_bee 2.1.1.pre247 → 2.1.1.pre248

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +18 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTU4NzkwYjgxZGRjZTQ0MzBiMmY0Nzc2YThkMzRiYjA3ZGJmMzIyNw==
4
+ MjBiMThiYzYxY2JmYjVkMDgzYjdkZTRhZTcxNDlkZDYzZTgyNjg1Nw==
5
5
  data.tar.gz: !binary |-
6
- OGJiOTIwNzY3ODM4NzBkNGRkNGVjNzNmN2UzMzgxNzM0NTBkYzZhMg==
6
+ MDFlOTdkMTgyOTQ1OGU0YWI5ODgyN2Q0YTFlYTA2MzA1OWIxZjI2Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmVkYWNhOTQ1N2IxNDNhMTRkMWE3NzQyZmViM2Q1MTg3YWNjMzdmMGUyMDBh
10
- MTc1OTNiNTAyMThkY2NhNmM4MmU4ZWQyNmM4NjJhNzZmZGM1YTYzY2ZiZDZj
11
- NThhOTgzOGVmNDVmNTM4ODAzNmE4NWJmYTAyNDRhNzZhM2FkNmU=
9
+ ZDUzYzBiMjE2NTE3NGIzOGI4OTgzMWRlOTIyOTY4MWI5ZjJhZTY5MjNiYzU1
10
+ NGMxMThiYTRhMjhkNWE0MmVkOTkwYmEzYmMyNWY0YmE1Y2U2MTEyY2RlMTQ1
11
+ N2MzMDFhMDNjOTQxZTcwZjY2YTFhYTBlZjZmZWNjMmQyNzllNTg=
12
12
  data.tar.gz: !binary |-
13
- MDkyNDVmZDhiOGZmMGI2OTU5YjQ5MjNjMGNhNGMwOTg5MGFiMzVhYmUxN2Ix
14
- OTdiYTBhNzA0OGQwYmIzZWU1NzljNmI4NWZiZjY1MTY5MTcxMGE3MzkxOWJh
15
- NGY0ZmUwZWI5Y2Y3YmU3YWE3YTc5ZGNmZGQyNTQ5MTAzNzc3YmE=
13
+ ZTA3MTRlNTdkOTc1MTA2MzlmOTYxYjliMzQwOTMxMDkzNWYzMjYzYjUwZWQx
14
+ YzRmY2RlMzRkODdiMGY4NTE0OGI4MWJjNDNkNzFjYjNlOWFhZTgzNWZkYjlm
15
+ M2UyNzI0NzNkYjk3MjlkMDRjODU0NTliYTkwMjFlZTJlZjczODA=
data/README.md CHANGED
@@ -60,7 +60,7 @@ puts vm[:iso_display_text]
60
60
  For any endpoint requiring a map parameter, pass in a hash.
61
61
 
62
62
  ```ruby
63
- cloud_stack.create_tags(tags: { type: 'community' }, resource_type: "Template", resource_ids: id )
63
+ cloud_stack.create_tags tags: { type: 'community' }, ...
64
64
  ```
65
65
 
66
66
  This will yield a request with the following query string:
@@ -206,6 +206,23 @@ StackerBee itself puts some middlewares on Faraday. Any middlewares you add will
206
206
 
207
207
  You can configure logging by passing in a logger object that adheres to the standard log4* logging conventions
208
208
 
209
+ ```ruby
210
+ StackerBee::Client.configuration = {
211
+ logger: my_log4x_logger
212
+ }
213
+ ```
214
+
215
+ ### SSL and `ssl_verify`
216
+
217
+ StackerBee supports using SSL. To do so, use an HTTPS URL. In some deployments, CloudStack's SSL certificates don't match the DNS name that StackerBee will use to access it which will cause certificate validation errors. In these cases, if it's not feasible to fix the certificates (which is recommended) setting `ssl_verfiy` to `false` will cause StackerBee to ignore certificate validation errors.
218
+
219
+ ```ruby
220
+ StackerBee::Client.configuration = {
221
+ url: 'https://my-cloudstack-server/client/api',
222
+ ssl_verify: false # ignore certificate validation errors
223
+ }
224
+ ```
225
+
209
226
  ### Bulk Configuration
210
227
 
211
228
  The `StackerBee::Client` class can be configured with multiple options at once.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacker_bee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.pre247
4
+ version: 2.1.1.pre248
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sterndale
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-03 00:00:00.000000000 Z
12
+ date: 2014-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday