mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Make pkg.installed and pkg.latest language more clear
This commit is contained in:
parent
62d64daf1c
commit
1e419366b3
@ -391,7 +391,7 @@ def installed(
|
|||||||
pkg_verify=False,
|
pkg_verify=False,
|
||||||
**kwargs):
|
**kwargs):
|
||||||
'''
|
'''
|
||||||
Verify that the package is installed, and that it is the correct version
|
Ensure that the package is installed, and that it is the correct version
|
||||||
(if specified).
|
(if specified).
|
||||||
|
|
||||||
name
|
name
|
||||||
@ -1006,8 +1006,8 @@ def latest(
|
|||||||
pkgs=None,
|
pkgs=None,
|
||||||
**kwargs):
|
**kwargs):
|
||||||
'''
|
'''
|
||||||
Verify that the named package is installed and the latest available
|
Ensure that the named package is installed and the latest available
|
||||||
package. If the package can be updated this state function will update
|
package. If the package can be updated, this state function will update
|
||||||
the package. Generally it is better for the
|
the package. Generally it is better for the
|
||||||
:mod:`installed <salt.states.pkg.installed>` function to be
|
:mod:`installed <salt.states.pkg.installed>` function to be
|
||||||
used, as :mod:`latest <salt.states.pkg.latest>` will update the package
|
used, as :mod:`latest <salt.states.pkg.latest>` will update the package
|
||||||
|
Loading…
Reference in New Issue
Block a user