mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #5 from dwoz/win_pkg_flaky
Log results of cache_dir for now
This commit is contained in:
commit
fd5e8421d6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue