ceph/ceph-deploy — pull request #72 by angdraug (2013-09-10 18:48:38+00:00)
Title: consistently remove domain from short hostname

This resolves the unnecessary warning thrown by ceph-deploy mon create when host:ip notation is used to specify the mon and the remote host reports an fqdn as its hostname:
http://tracker.ceph.com/issues/6269
The hostname handling code is extracted into remote_shortname() method in ceph_deploy.misc and reused across ceph-deploy to improve consistency.