knife-setup 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/knife-setup.rb +3 -5
- data/lib/knife-setup/version.rb +1 -1
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
#TODO flock
|
2
|
+
|
1
3
|
require 'chef/knife'
|
2
4
|
require 'erubis'
|
3
5
|
|
@@ -199,11 +201,7 @@ class Chef
|
|
199
201
|
end
|
200
202
|
|
201
203
|
def server_name
|
202
|
-
|
203
|
-
Array(@name_args).first
|
204
|
-
else
|
205
|
-
config[:chef_node_name]
|
206
|
-
end
|
204
|
+
config[:chef_node_name] || Array(@name_args).first
|
207
205
|
end
|
208
206
|
|
209
207
|
def knife_ssh(command)
|
data/lib/knife-setup/version.rb
CHANGED
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
|
4
|
+
version: 1.1.0
|
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-
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|