Skip to content

Commit

Permalink
Install python3-pyyaml for theforeman-rel-eng scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored Feb 26, 2024
1 parent 6297984 commit 51c78d4
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions puppet/modules/slave/manifests/packaging/rpm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@
}
}

# To run obal
$obal_packages = if $is_el7 {
['python36-PyYAML']
} else {
[
$ansible_python_version,
"${ansible_python_version}-pyyaml",
"${ansible_python_version}-setuptools",
]
}
ensure_packages($obal_packages)
$obal_packages = [
$ansible_python_version,
"${ansible_python_version}-pyyaml",
"${ansible_python_version}-setuptools",
]
$foreman_rel_eng_packages = [
'python3-pyyaml',
]

ensure_packages($obal_packages + $foreman_rel_eng_packages)

# koji
file { "${homedir}/bin":
Expand Down

0 comments on commit 51c78d4

Please sign in to comment.