Permalink
Browse files

example configs changed to work with new DIM config format

  • Loading branch information...
1 parent 427ab4c commit 6c7958c34dd3bf228b98772fdaaa389fa69cdc20 @juozasg juozasg committed Nov 21, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 config/roles/bps-test.yml
  2. +1 −1 config/templates/monitor_instances_list.erb
@@ -47,7 +47,7 @@ web:
app:
service: ec2
# image_id: 'ami-87b578ee'
- image_name: 'bps-app-v13'
+ image_name: 'bps-app-current'
# instance_type: 'c1.xlarge'
instance_type: 't1.micro'
security_groups:
@@ -83,7 +83,7 @@ monitor:
-
name: hosts_list
template: monitor_instances_list
- location: '/tmp/ec2_monitor/hosts_lists/main'
+ location: '/tmp/ec2_monitor/hosts/bpstest'
template_params:
profile: profile
@@ -1,3 +1,3 @@
<% 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 %>

0 comments on commit 6c7958c

Please sign in to comment.