rightscale-cookbooks/rightscale_tag — pull request #5 by david-vo (2014-02-24 22:46:27+00:00)
Title: Update how we get the hostname to support CentOS kitchen tests

Hi, I made this change after noticing that Socket.gethostname for CentOS would return long hostnames such as: "load-balancer-centos-64.vagrantup.com". However, the tags.json files would reside in load-balancer-centos-64. This affects any tests, in any cookbook, that uses Socket.gethostname. I checked that this does not break Ubuntu 12.04 tests.