parent
89569d035e
commit
27a33a6f18
1 changed files with 2 additions and 1 deletions
|
@ -764,7 +764,8 @@ class Facts(object):
|
|||
if len(tokens) == 0:
|
||||
continue
|
||||
if tokens[0] == 'nameserver':
|
||||
self.facts['dns']['nameservers'] = []
|
||||
if not 'nameservers' in self.facts['dns']:
|
||||
self.facts['dns']['nameservers'] = []
|
||||
for nameserver in tokens[1:]:
|
||||
self.facts['dns']['nameservers'].append(nameserver)
|
||||
elif tokens[0] == 'domain':
|
||||
|
|
Loading…
Reference in a new issue