diff --git a/devops-service/app/api2/handlers/server.rb b/devops-service/app/api2/handlers/server.rb index cddbf54..2830c55 100644 --- a/devops-service/app/api2/handlers/server.rb +++ b/devops-service/app/api2/handlers/server.rb @@ -179,7 +179,7 @@ module Devops unless t.nil? templates = get_templates halt_response("Invalid bootstrap template '#{t}', available values: #{templates.join(", ")}", 400) unless templates.include?(t) - s[:bootstrap_template] = t + res[:bootstrap_template] = t end s.chef_node_name = name || provider.create_default_chef_node_name(s) res[:run_list] = rl || d.run_list