Make pkg.installed and pkg.latest language more clear

This commit is contained in:
rallytime 2014-07-17 09:41:04 -06:00
parent 62d64daf1c
commit 1e419366b3

View File

@ -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