Update specs for travis
Merge pull request #16 from hunner/fix_specs

Update specs for travis
Add xinetd::params class

The params class uses facts to set tailored filenames and paths for the
node. This is desireable in order to support multiple operating
systems.
Convert files/xinetd.conf to a template

Not all operating systems store their default xinetd configuration file
in /etc/xinetd.conf. Converting from a flat file to a template in order
to support those operating systems.
Manage xinetd.d, rework init.pp

Make sure xinetd.d exists (not all OS packages automatically create
such a file). Also rework init.pp order.
Expand xinetd::service options

Add a bunch of extra xinetd::service parameters. Refactor a bit.
Options that default to undef are not given a corresponding line in the
xinetd service file, leaving their value to the xinetd default.

Modified options:
- bind = '0.0.0.0'
+ bind = undef

New options:
+ access_times   = undef
+ ensure         = present
+ groups         = 'yes'
+ log_on_failure = undef
+ log_type       = undef
+ no_access      = undef
+ only_from      = undef
+ service_name   = $title
+ xtype          = undef
Fix file 'require' bug

Previously, the file resource defaults in init.pp specified
Package[$xinetd_service] as a dependency. This has some not-so-subtle
problems. It has been fixed to use Package[$xinetd_package] as
originally intended.
Change hasrestart parameter to false

Whatever puppet is doing to restart the xinetd service, it's not
working. Possibly puppet is issuing a "reload" command. Setting
hasrestart to false will cause puppet to issue a stop command followed
by a start command, which *does* do the right thing.
Puppet lint fixes
Merge pdxcat/xinetd with upstream

 - Fix rebase errors
Refactor xinetd and xinetd::service

  - refactor xinetd class to be parameterized
  - rename $real_wait to $_wait to indicate it was munged
  - use validate_re function to verify tcp|udp
  - rename $xinetd_* to *
  - remove duplicate include xinetd
  - refactor template not to use scope.lookupvar
  - fix failing spec tests
  - add dependency on stdlib