knife-setup 0.0.2 → 0.0.3
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.
- data/lib/chef/knife/knife-setup.rb +2 -8
- data/lib/knife-setup/version.rb +1 -1
- metadata +2 -2
|
@@ -99,12 +99,6 @@ class Chef
|
|
|
99
99
|
:proc => lambda { |o| o.split(/[\s,]+/) },
|
|
100
100
|
:default => []
|
|
101
101
|
|
|
102
|
-
option :chef_run_list,
|
|
103
|
-
:long => "--chef-run-list RUN_LIST",
|
|
104
|
-
:description => "Comma separated list of roles/recipes to apply",
|
|
105
|
-
:proc => lambda { |o| o.split(/[\s,]+/) },
|
|
106
|
-
:default => []
|
|
107
|
-
|
|
108
102
|
option :no_host_key_verify,
|
|
109
103
|
:long => "--no-host-key-verify",
|
|
110
104
|
:description => "Disable host key verification",
|
|
@@ -134,7 +128,7 @@ class Chef
|
|
|
134
128
|
raise Errno::ENOENT
|
|
135
129
|
end
|
|
136
130
|
|
|
137
|
-
|
|
131
|
+
ui.info("Found bootstrap template in #{File.dirname(template)}")
|
|
138
132
|
|
|
139
133
|
IO.read(template).chomp
|
|
140
134
|
end
|
|
@@ -188,7 +182,7 @@ class Chef
|
|
|
188
182
|
ui.info("Setup Chef on #{ui.color(@node_name, :bold)}")
|
|
189
183
|
|
|
190
184
|
bootstrap_client unless config[:nobootstrap]
|
|
191
|
-
set_run_list(get_node, config[:
|
|
185
|
+
set_run_list(get_node, config[:run_list]) unless config[:run_list].empty?
|
|
192
186
|
set_env(get_node, config[:environment]) unless config[:environment] == "_default"
|
|
193
187
|
knife_ssh("chef-client").run if config[:runchef]
|
|
194
188
|
|
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: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
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-01-
|
|
12
|
+
date: 2013-01-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: chef
|