Skip to content

Commit

Permalink
add some feedback for add/remove role
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Conway committed Nov 6, 2009
1 parent f8c7951 commit bafe1bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rubber/recipes/rubber/instances.rb
Expand Up @@ -87,6 +87,8 @@

instance.roles = (instance.roles + ir).uniq
rubber_instances.save()
logger.info "Roles for #{instance_alias} are now:"
logger.info instance.role_names.sort.join("\n")
end

desc <<-DESC
Expand All @@ -109,6 +111,8 @@

instance.roles = (instance.roles - ir).uniq
rubber_instances.save()
logger.info "Roles for #{instance_alias} are now:"
logger.info instance.role_names.sort.join("\n")
end

desc <<-DESC
Expand Down

0 comments on commit bafe1bb

Please sign in to comment.