mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 09:10:20 +00:00
Fix paths from SPM files PR
This commit is contained in:
parent
2d711782e8
commit
7ebf1cf104
2 changed files with 4 additions and 0 deletions
|
@ -139,6 +139,7 @@ if SPM_REACTOR_PATH is None:
|
|||
|
||||
__all__ = [
|
||||
'ROOT_DIR',
|
||||
'SHARE_DIR',
|
||||
'CONFIG_DIR',
|
||||
'CACHE_DIR',
|
||||
'SOCK_DIR',
|
||||
|
|
3
setup.py
3
setup.py
|
@ -215,6 +215,7 @@ class GenerateSaltSyspaths(Command):
|
|||
INSTALL_SYSPATHS_TEMPLATE.format(
|
||||
date=DATE,
|
||||
root_dir=self.distribution.salt_root_dir,
|
||||
share_dir=self.distribution.salt_share_dir,
|
||||
config_dir=self.distribution.salt_config_dir,
|
||||
cache_dir=self.distribution.salt_cache_dir,
|
||||
sock_dir=self.distribution.salt_sock_dir,
|
||||
|
@ -703,6 +704,7 @@ INSTALL_SYSPATHS_TEMPLATE = '''\
|
|||
{date:%A, %d %B %Y @ %H:%m:%S UTC}.
|
||||
|
||||
ROOT_DIR = {root_dir!r}
|
||||
SHARE_DIR = {share_dir!r}
|
||||
CONFIG_DIR = {config_dir!r}
|
||||
CACHE_DIR = {cache_dir!r}
|
||||
SOCK_DIR = {sock_dir!r}
|
||||
|
@ -864,6 +866,7 @@ class SaltDistribution(distutils.dist.Distribution):
|
|||
|
||||
# Salt Paths Configuration Settings
|
||||
self.salt_root_dir = None
|
||||
self.salt_share_dir = None
|
||||
self.salt_config_dir = None
|
||||
self.salt_cache_dir = None
|
||||
self.salt_sock_dir = None
|
||||
|
|
Loading…
Add table
Reference in a new issue