Skip to content

Commit

Permalink
(PA-6002) Add sles11-x86_64 platform definition to pxp-agent-vanagon-7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkarsale committed Jan 25, 2024
1 parent 8c973cd commit 84d9979
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions configs/platforms/sles-11-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
platform "sles-11-x86_64" do |plat|
plat.servicedir "/etc/init.d"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "sysv"
# plat.add_build_repository "http://osmirror.delivery.puppetlabs.net/sles-11-deps-x86_64/sles-11-deps-x86_64.repo"
# plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/yum/sles/11/x86_64/pl-build-tools-sles-11-x86_64.repo"
packages = [
"aaa_base",
"autoconf",
"automake",
"gcc",
"java-1_7_1-ibm-devel",
"libbz2-devel",
"make",
"pkgconfig",
"pl-cmake",
"pl-gcc",
"readline-devel",
"rsync",
"zlib-devel"
]
plat.provision_with("zypper -n --no-gpg-checks install -y #{packages.join(' ')}")
plat.install_build_dependencies_with "zypper -n --no-gpg-checks install -y"
plat.vmpooler_template "sles-11-x86_64"
end

0 comments on commit 84d9979

Please sign in to comment.