knife-joyent 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,8 +1,10 @@
1
1
  knife-joyent Changelog
2
2
  ===
3
3
 
4
- ## 0.3.2 (master)
4
+ ## 0.3.2
5
5
 
6
+ - GH-55 ssl_verify_peer setting now only accepts ``false`` for disabling cert verification.
7
+ - GH-37 Fixes a formatting issue when there are servers without tags
6
8
 
7
9
  ## 0.3.1
8
10
 
data/README.md CHANGED
@@ -117,8 +117,8 @@ Some command line options to knife-joyent subcommands may depend on the Joyent A
117
117
 
118
118
  **``joyent_verify_peer``**
119
119
 
120
- Set to false to Disable SSL Cert verification, required if the CloudAPI instance
121
- uses a self-signed cert.
120
+ Set to ``false`` to Disable SSL Certificate verification, required if the CloudAPI instance
121
+ uses a self-signed cert. (Default: ``true``)
122
122
 
123
123
  **``provisioner``**
124
124
 
@@ -54,7 +54,7 @@ class Chef
54
54
  end
55
55
 
56
56
  def connection
57
- if (Chef::Config[:knife][:joyent_verify_peer] rescue nil)
57
+ if (Chef::Config[:knife][:joyent_verify_peer] == false)
58
58
  Excon.defaults[:ssl_verify_peer] = false
59
59
  end
60
60
 
@@ -46,6 +46,8 @@ class Chef
46
46
 
47
47
  if (servers.tags rescue nil)
48
48
  servers << s.tags.map { |k, v| "#{k}:#{v}" }.join(' ')
49
+ else
50
+ servers << "No Tags"
49
51
  end
50
52
  end
51
53
 
@@ -1,3 +1,3 @@
1
1
  module KnifeJoyent
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-joyent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
12
+ date: 2013-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog