Skip to content

Commit

Permalink
example configs changed to work with new DIM config format
Browse files Browse the repository at this point in the history
  • Loading branch information
juozasg committed Nov 21, 2011
1 parent 427ab4c commit 6c7958c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/roles/bps-test.yml
Expand Up @@ -47,7 +47,7 @@ web:
app: app:
service: ec2 service: ec2
# image_id: 'ami-87b578ee' # image_id: 'ami-87b578ee'
image_name: 'bps-app-v13' image_name: 'bps-app-current'
# instance_type: 'c1.xlarge' # instance_type: 'c1.xlarge'
instance_type: 't1.micro' instance_type: 't1.micro'
security_groups: security_groups:
Expand Down Expand Up @@ -83,7 +83,7 @@ monitor:
- -
name: hosts_list name: hosts_list
template: monitor_instances_list template: monitor_instances_list
location: '/tmp/ec2_monitor/hosts_lists/main' location: '/tmp/ec2_monitor/hosts/bpstest'
template_params: template_params:
profile: profile profile: profile


Expand Down
2 changes: 1 addition & 1 deletion config/templates/monitor_instances_list.erb
@@ -1,3 +1,3 @@
<% profile.defined_instances.find_all{|i| i.service == :ec2 && !i.configure_without_running}.each do |i|%> <% profile.defined_instances.find_all{|i| i.service == :ec2 && !i.configure_without_running}.each do |i|%>
<%= i.name %> <%= i.dns_name%> <%= i.name %> <%= i.role_name%> <%= i.dns_name%>
<% end %> <% end %>

0 comments on commit 6c7958c

Please sign in to comment.