puppetlabs/puppetlabs-tftp — pull request #11 by crayfishx (2012-07-11 00:32:00+00:00)
Title: Redhat/CentOS support and replacement of inetd with xinetd.

This is a bit of a refactor and modernisation of the puppetlabs-tftp module

Firstly, it was only written for Debian/Ubuntu so the attached pull request adds support for RHEL/CentOS with appropriate differences in service/package names - this has been tested on Ubuntu 11.10 and CentOS 6.0 so far.

Secondly, the module has a requirement on Class['inetd'] which is a puppet labs module for running older inetd set ups but not published in the forge. Also - xinetd is the standard replacement on the majority of distros these days so I've replaced this with an xinetd::service type from the puppetlabs-xinetd module and added the dependancy to it in the module file.

Because of the introduction of xinetd and removal of inetd introduces different behaviour I thought bumping the module version to 0.2.0 would be preferable...

Would appreciate some review of these changes.