Skip to content

Commit

Permalink
Update cs_server_create.rb
Browse files Browse the repository at this point in the history
Guess I did some troubleshooting here with my name :S
  • Loading branch information
sbotman committed Feb 12, 2014
1 parent 809f406 commit 962af6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/knife/cs_server_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def is_image_windows?
template = connection.get_template(template_name, locate_config_value(:cloudstack_zone))
template = connection.get_iso(template_name, locate_config_value(:cloudstack_zone)) unless template
if !template
ui.error("Template: #{template_name} does not exist, sander")
ui.error("Template: #{template_name} does not exist!")
exit 1
end
return template['ostypename'].scan('Windows').length > 0
Expand Down

0 comments on commit 962af6e

Please sign in to comment.