Update agent.rb

The updated line here allows the logstash agents to make use of environments in the same way that the server side of the recipes does. Without this change the cookbook is not fully compatible with deploying to multiple environments that utilize the same role names