Skip to content

Commit

Permalink
Stop lowercasing package names in yum.packages & dnf.packages ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed May 24, 2021
1 parent de8d4f3 commit e0fc224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyinfra/operations/dnf.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def packages(
uninstall_command=' '.join(uninstall_command),
upgrade_command='dnf update -y',
version_join='=',
lower=False, # dnf packages are case sensitive
latest=latest,
expand_package_fact=host.fact.rpm_package_provides,
)
1 change: 1 addition & 0 deletions pyinfra/operations/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def packages(
uninstall_command=' '.join(uninstall_command),
upgrade_command='yum update -y',
version_join='=',
lower=False, # yum packages are case sensitive
latest=latest,
expand_package_fact=host.fact.rpm_package_provides,
)

0 comments on commit e0fc224

Please sign in to comment.