Rename 'domainname' to 'domain'

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent d7f740ffbe
commit 958b2909f8

@ -107,7 +107,7 @@ class Facts(object):
self.facts['python_version'] = platform.python_version()
self.facts['fqdn'] = socket.getfqdn()
self.facts['hostname'] = self.facts['fqdn'].split('.')[0]
self.facts['domainname'] = '.'.join(self.facts['fqdn'].split('.')[1:])
self.facts['domain'] = '.'.join(self.facts['fqdn'].split('.')[1:])
if self.facts['machine'] == 'x86_64':
self.facts['architecture'] = self.facts['machine']
elif Facts._I386RE.search(self.facts['machine']):

Loading…
Cancel
Save