mkrakowitzer/puppet-stash — pull request #17 by brucem (2014-08-22 06:00:33+00:00)
Title: Allow support for both RedHat and Debian initscripts.

The following commit https://github.com/mkrakowitzer/puppet-stash/commit/ecb45a5c0b52b8740b7a9a8b7220367dbb100572 broke the startup script on RedHat systems. This change splits out the init scripts into a Debian(existing) and RedHat(previous) specific versions. The facter $::osfamily value is used to choose which init script is used.

Runing on systems where the $::osfamily is neither RedHat or Debian will result in an error indicating that that $::osfamily is not supported.

The spec_helper.rb has been been updated so that osfamily family variable is set to Debian for all tests.