Update win_pkg.py

Fix path and other typos
This commit is contained in:
stratusjerry 2018-08-09 15:33:54 -04:00
parent 27dd9fbac2
commit 531b23d6b1

View file

@ -838,7 +838,7 @@ def refresh_db(**kwargs):
The database is stored in a serialized format located by default at the
following location:
`C:\salt\var\cache\salt\minion\files\base\win\repo-ng\winrepo.p`
``C:\salt\var\cache\salt\minion\files\base\win\repo-ng\winrepo.p``
This module performs the following steps to generate the software metadata
database:
@ -846,7 +846,7 @@ def refresh_db(**kwargs):
- Fetch the package definition files (.sls) from `winrepo_source_dir`
(default `salt://win/repo-ng`) and cache them in
`<cachedir>\files\<saltenv>\<winrepo_source_dir>`
(default: `C:\salt\var\cache\salt\minion\files\base\win\repo-ng`)
(default: ``C:\salt\var\cache\salt\minion\files\base\win\repo-ng``)
- Call :py:func:`pkg.genrepo <salt.modules.win_pkg.genrepo>` to parse the
package definition files and generate the repository metadata database
file (`winrepo.p`)
@ -1042,7 +1042,7 @@ def _get_repo_details(saltenv):
def genrepo(**kwargs):
'''
Generate package metedata db based on files within the winrepo_source_dir
Generate package metadata db based on files within the winrepo_source_dir
Kwargs:
@ -2087,7 +2087,7 @@ def purge(name=None, pkgs=None, **kwargs):
def get_repo_data(saltenv='base'):
'''
Returns the existing package meteadata db. Will create it, if it does not
Returns the existing package metadata db. Will create it, if it does not
exist, however will not refresh it.
Args: