Allow an environment hash to define environments and their regexes
Allow an environment hash to define environments and their regexes

Users can now modify the commit hook to specify an ENVIRONMENTS hash.  The key is the the name of the environment specified in the puppet.conf file on the puppetmasters.  THe value of the hash is the regex that matches the path on the file being committed

puppetlabs/puppetlabs-mcmasterupdate