#840: some changes
This commit is contained in:
parent
ca21238de2
commit
1805f8d65c
@ -179,7 +179,7 @@ module Devops
|
|||||||
unless t.nil?
|
unless t.nil?
|
||||||
templates = get_templates
|
templates = get_templates
|
||||||
halt_response("Invalid bootstrap template '#{t}', available values: #{templates.join(", ")}", 400) unless templates.include?(t)
|
halt_response("Invalid bootstrap template '#{t}', available values: #{templates.join(", ")}", 400) unless templates.include?(t)
|
||||||
s[:bootstrap_template] = t
|
res[:bootstrap_template] = t
|
||||||
end
|
end
|
||||||
s.chef_node_name = name || provider.create_default_chef_node_name(s)
|
s.chef_node_name = name || provider.create_default_chef_node_name(s)
|
||||||
res[:run_list] = rl || d.run_list
|
res[:run_list] = rl || d.run_list
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user