Actually, for now we can add a new association relation and not need any new methods. Add this to deployment.rb:

has_many :services, :through => :roles

For the moment, I don't think the 'uniq' bit is needed, since there's other code that will break if a service is used twice. We have more work to do to handle a shared service properly.