mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Log results of cache_dir for now
This commit is contained in:
parent
1005b91690
commit
c3868261ba
@ -693,12 +693,13 @@ def refresh_db(**kwargs):
|
||||
|
||||
# Cache repo-ng locally
|
||||
log.info('Fetching *.sls files from {0}'.format(repo_details.winrepo_source_dir))
|
||||
__salt__['cp.cache_dir'](
|
||||
ret = __salt__['cp.cache_dir'](
|
||||
path=repo_details.winrepo_source_dir,
|
||||
saltenv=saltenv,
|
||||
include_pat='*.sls',
|
||||
exclude_pat=r'E@\/\..*?\/' # Exclude all hidden directories (.git)
|
||||
)
|
||||
log.debug("refresh_db - Return from cache_dir %s", repr(ret))
|
||||
|
||||
return genrepo(saltenv=saltenv, verbose=verbose, failhard=failhard)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user