Skip to content

Commit

Permalink
(PA-6381): Added el-9-ppc64le platform for puppet-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
span786 committed Apr 15, 2024
1 parent 834da4a commit 28b5e0c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configs/platforms/el-9-ppc64le.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
platform "el-9-ppc64le" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

# Workaround for an issue with RedHat subscription metadata, see ITSYS-2543
plat.provision_with('subscription-manager repos --disable rhel-9-for-ppc64le-baseos-rpms && subscription-manager repos --enable rhel-9-for-ppc64le-baseos-rpms')

packages = %w(gcc gcc-c++ autoconf automake createrepo rsync cmake make rpm-libs rpm-build libarchive)

plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
plat.install_build_dependencies_with "dnf install -y --allowerasing "
plat.vmpooler_template "redhat-9-power9"
end

0 comments on commit 28b5e0c

Please sign in to comment.