AMBARI-2198. Avoid using $::fqdn in puppet which uses the fqdn value from puppet/facter, instead pass in the hostname from python socket.getfqdn().. (smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1487667 13f79535-47bb-0310-9956-ffa450edef68