mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update win_pkg.py
Fix path and other typos
This commit is contained in:
parent
27dd9fbac2
commit
531b23d6b1
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue