mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Deprecate the prep_install option for seed.apply_
This commit is contained in:
parent
61dffacc20
commit
a2ae8f9217
@ -129,9 +129,10 @@ def apply_(path, id_=None, config=None, approve_key=True, install=True,
|
|||||||
'{0}'.format(mpt))
|
'{0}'.format(mpt))
|
||||||
res = _install(mpt)
|
res = _install(mpt)
|
||||||
elif prep_install:
|
elif prep_install:
|
||||||
_prep_bootstrap(mpt)
|
log.error('The prep_install option is no longer supported. Please use '
|
||||||
log.info('{0} is ready for salt-minion installation'.format(mpt))
|
'the bootstrap script installed with Salt, located at {0}.'
|
||||||
res = True
|
.format(salt.syspaths.BOOTSTRAP))
|
||||||
|
res = False
|
||||||
else:
|
else:
|
||||||
log.warn('No useful action performed on '
|
log.warn('No useful action performed on '
|
||||||
'{0}'.format(mpt))
|
'{0}'.format(mpt))
|
||||||
|
Loading…
Reference in New Issue
Block a user