Skip to content

Commit e0fc224

Browse files
committed
Stop lowercasing package names in yum.packages & dnf.packages ops.
1 parent de8d4f3 commit e0fc224

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pyinfra/operations/dnf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def packages(
188188
uninstall_command=' '.join(uninstall_command),
189189
upgrade_command='dnf update -y',
190190
version_join='=',
191+
lower=False, # dnf packages are case sensitive
191192
latest=latest,
192193
expand_package_fact=host.fact.rpm_package_provides,
193194
)

pyinfra/operations/yum.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def packages(
188188
uninstall_command=' '.join(uninstall_command),
189189
upgrade_command='yum update -y',
190190
version_join='=',
191+
lower=False, # yum packages are case sensitive
191192
latest=latest,
192193
expand_package_fact=host.fact.rpm_package_provides,
193194
)

0 commit comments

Comments
 (0)