Refactored agent configuration
explicitly disable the non-selected agent method
Use a single template for the agent service conf file

Install it conditionally, as in Gentoo there is no config file for agent service
Make $::environment the default value of $puppet::server::environment
Merge pull request #38 from tampakrap/refactor_agent_configuration

Refactor agent configuration