Fill in a couple more spots

This commit is contained in:
Joseph Hall 2017-03-02 05:27:20 -07:00
parent 7ebf1cf104
commit 829f7008f1
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@ elif __file__:
ROOT_DIR=application_path.split("bin/appdata")[0]
# Copied from syspaths.py
SHARE_DIR = os.path.join(ROOT_DIR, 'usr', 'share', 'salt')
CONFIG_DIR = os.path.join(ROOT_DIR, 'etc')
CACHE_DIR = os.path.join(ROOT_DIR, 'var', 'cache', 'salt')
SOCK_DIR = os.path.join(ROOT_DIR, 'var', 'run', 'salt')

View file

@ -832,6 +832,8 @@ class SaltDistribution(distutils.dist.Distribution):
# Salt's Paths Configuration Settings
('salt-root-dir=', None,
'Salt\'s pre-configured root directory'),
('salt-share-dir=', None,
'Salt\'s pre-configured share directory'),
('salt-config-dir=', None,
'Salt\'s pre-configured configuration directory'),
('salt-cache-dir=', None,