mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lxc: sync func name with develop
This commit is contained in:
parent
e96e345799
commit
e2887a0d44
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue