Commit 92442831 by Richard C Isaacson

Spelling and formatting.

parent 29f15284
......@@ -110,7 +110,7 @@ EXAMPLES = '''
- name: remove the Apache package
yum: name=httpd state=removed
- name: install the latest version of Apche from the testing repo
- name: install the latest version of Apache from the testing repo
yum: name=httpd enablerepo=testing state=installed
- name: upgrade all packages
......@@ -463,6 +463,7 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
res['msg'] = ''
res['rc'] = 0
res['changed'] = False
downgrade = False
for spec in items:
......@@ -540,7 +541,7 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
continue
# downgrade - the yum install command will only install or upgrade to a spec version, it will
# not install an older version of an RPM even if specifed by the install spec. So we need to
# not install an older version of an RPM even if specified by the install spec. So we need to
# determine if this is a downgrade, and then use the yum downgrade command to install the RPM.
pkg_name = splitFilename(spec)[0]
pkgs = is_installed(module, repoq, pkg_name, conf_file, en_repos=en_repos, dis_repos=dis_repos, is_pkg=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment