YAML generation compatible with Ruby 1.8 and AWS OpsWorks

I've modified the pattern used to format the services configuration.