lxc: sync func name with develop

This commit is contained in:
Mathieu Le Marec - Pasquet 2015-05-18 18:38:40 +02:00
parent e96e345799
commit e2887a0d44

View file

@ -2774,7 +2774,7 @@ def set_dns(name, dnsservers=None, searchdomains=None):
return True
def _need_install(name):
def _needs_install(name):
ret = 0
has_minion = retcode(name,
'which salt-minion',
@ -2888,7 +2888,7 @@ def bootstrap(name,
if not orig_state:
return orig_state
if not force_install:
needs_install = _need_install(name)
needs_install = _needs_install(name)
else:
needs_install = True
seeded = retcode(name,