Add name_servers alias to name_server vyos_system parameter (#24972)

Other modules use name_servers, we need to have a consistent interface
for the platform agnostic modules work.
This commit is contained in:
Ricardo Carrillo Cruz 2017-05-24 12:15:51 +02:00 committed by GitHub
parent 2039abbbfa
commit cd13b70903

View file

@ -175,7 +175,7 @@ def main():
host_name=dict(type='str'),
domain_name=dict(type='str'),
domain_search=dict(type='list'),
name_server=dict(type='list'),
name_server=dict(type='list', aliases=['name_servers']),
state=dict(type='str', default='present', choices=['present', 'absent']),
)