mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 09:10:20 +00:00
Following the change in #42103 if Salt is installed via setup.py then the generated _syspaths.py does not contain the HOME_DIR which results in a failure.
This commit is contained in:
parent
792cc0eb54
commit
c70df4adcd
1 changed files with 3 additions and 0 deletions
3
setup.py
3
setup.py
|
@ -234,6 +234,7 @@ class GenerateSaltSyspaths(Command):
|
|||
spm_formula_path=self.distribution.salt_spm_formula_dir,
|
||||
spm_pillar_path=self.distribution.salt_spm_pillar_dir,
|
||||
spm_reactor_path=self.distribution.salt_spm_reactor_dir,
|
||||
home_dir=self.distribution.salt_home_dir,
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -724,6 +725,7 @@ PIDFILE_DIR = {pidfile_dir!r}
|
|||
SPM_FORMULA_PATH = {spm_formula_path!r}
|
||||
SPM_PILLAR_PATH = {spm_pillar_path!r}
|
||||
SPM_REACTOR_PATH = {spm_reactor_path!r}
|
||||
HOME_DIR = {home_dir!r}
|
||||
'''
|
||||
|
||||
|
||||
|
@ -892,6 +894,7 @@ class SaltDistribution(distutils.dist.Distribution):
|
|||
self.salt_spm_formula_dir = None
|
||||
self.salt_spm_pillar_dir = None
|
||||
self.salt_spm_reactor_dir = None
|
||||
self.salt_home_dir = None
|
||||
|
||||
self.name = 'salt-ssh' if PACKAGED_FOR_SALT_SSH else 'salt'
|
||||
self.salt_version = __version__ # pylint: disable=undefined-variable
|
||||
|
|
Loading…
Add table
Reference in a new issue