Skip to content

Commit

Permalink
Merge pull request #5 from dwoz/win_pkg_flaky
Browse files Browse the repository at this point in the history
Log results of cache_dir for now
  • Loading branch information
Ch3LL authored Oct 5, 2018
2 parents 2cd4058 + c386826 commit fd5e842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/modules/win_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fd5e842

Please sign in to comment.