lib/shelly/templates/Cloudfile.erb in shelly-0.1.40 vs lib/shelly/templates/Cloudfile.erb in shelly-0.2.0
- old
+ new
@@ -2,10 +2,14 @@
ruby_version: <%= @ruby_version %> # 1.9.3, 1.9.2 or ree-1.8.7
environment: <%= @environment %> # RAILS_ENV
monitoring_email: <%= @email %>
domains:
<%- @domains.each do |domain| -%>
+ <%- if domain.start_with?("*") -%>
+ - "<%= domain %>"
+ <%- else -%>
- <%= domain %>
+ <%- end -%>
<%- end -%>
servers:
app1:
size: <%= @size %>
thin: <%= @thin %>