mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fill in a couple more spots
This commit is contained in:
parent
7ebf1cf104
commit
829f7008f1
2 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@ elif __file__:
|
||||||
ROOT_DIR=application_path.split("bin/appdata")[0]
|
ROOT_DIR=application_path.split("bin/appdata")[0]
|
||||||
|
|
||||||
# Copied from syspaths.py
|
# Copied from syspaths.py
|
||||||
|
SHARE_DIR = os.path.join(ROOT_DIR, 'usr', 'share', 'salt')
|
||||||
CONFIG_DIR = os.path.join(ROOT_DIR, 'etc')
|
CONFIG_DIR = os.path.join(ROOT_DIR, 'etc')
|
||||||
CACHE_DIR = os.path.join(ROOT_DIR, 'var', 'cache', 'salt')
|
CACHE_DIR = os.path.join(ROOT_DIR, 'var', 'cache', 'salt')
|
||||||
SOCK_DIR = os.path.join(ROOT_DIR, 'var', 'run', 'salt')
|
SOCK_DIR = os.path.join(ROOT_DIR, 'var', 'run', 'salt')
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -832,6 +832,8 @@ class SaltDistribution(distutils.dist.Distribution):
|
||||||
# Salt's Paths Configuration Settings
|
# Salt's Paths Configuration Settings
|
||||||
('salt-root-dir=', None,
|
('salt-root-dir=', None,
|
||||||
'Salt\'s pre-configured root directory'),
|
'Salt\'s pre-configured root directory'),
|
||||||
|
('salt-share-dir=', None,
|
||||||
|
'Salt\'s pre-configured share directory'),
|
||||||
('salt-config-dir=', None,
|
('salt-config-dir=', None,
|
||||||
'Salt\'s pre-configured configuration directory'),
|
'Salt\'s pre-configured configuration directory'),
|
||||||
('salt-cache-dir=', None,
|
('salt-cache-dir=', None,
|
||||||
|
|
Loading…
Add table
Reference in a new issue