datasift/storyplayer — pull request #71 by stuartherbert (2013-09-26 13:29:08+00:00)
Title: FQDN environments

Fix: deal with getHostname() returning different results on different platforms

This PR fixes a problem when getHostname() returns a fully-qualified domain name (FQDN). When this happens, Storyplayer looks for both an environment and (potentially) an environment file that matches the FQDN. With this fix, whenever we get a FQDN, we strip off any domain information.