Merge branch 'develop' of github.com:saltstack/salt into develop

This commit is contained in:
Thomas S Hatch 2012-03-17 15:59:18 -06:00
commit 6e70ba26df

View File

@ -461,7 +461,6 @@ def hostname():
comps = grains['fqdn'].split('.')
grains['host'] = comps[0]
grains['localhost'] = socket.gethostname()
grains['localfqdn'] = __salt__['cmd.run']('hostname -f').strip()
if len(comps) > 1:
grains['domain'] = '.'.join(comps[1:])
else: