maestrodev/puppet-jetty — pull request #5 by bilco105 (2014-01-06 10:25:11+00:00)
Title: Add user/group management, defaults file and change chown method

This pull request introduces the following changes;

1. User and Group are now (optionally) created. To ensure no API breakage, the default is to not manage.
2. The jetty distribution folder is now managed by Puppet instead of chowning in the wget, allowing greater control.
3. The jetty_untar exec now requires the User and Group to exist. This means the user/group must be managed in Puppet _somewhere_, but not necessarily by the jetty module itself
4. The jetty service is now notified when the symlink changes, not when jetty is extracted (since it would still be pointing to the old dir)
5. /etc/default/jetty is now managed, which specifies the path to JETTY_HOME since the init script is no longer smart enough to determine this itself.

Tested and working on CentOS 6.5 and Debian 7.