knife-setup 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -199,7 +199,7 @@ class Chef
199
199
  end
200
200
 
201
201
  def server_name
202
- if config[:chef_node_name].empty?
202
+ if config[:chef_node_name].nil?
203
203
  Array(@name_args).first
204
204
  else
205
205
  config[:chef_node_name]
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Setup
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
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-03-14 00:00:00.000000000 Z
12
+ date: 2013-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef