Skip to content

Commit

Permalink
(PA-6002) Runtime component is not required for SLES-11
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamshinde360 committed Feb 19, 2024
1 parent f402b57 commit 79a7c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion configs/components/leatherman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@
elsif platform.is_windows?
pkg.build_requires 'cmake'
pkg.build_requires "pl-gettext-#{platform.architecture}"
elsif platform.name =~ /el-[67]|redhatfips-7|sles-1[12]|ubuntu-18.04-amd64/
elsif platform.name =~ /el-[67]|redhatfips-7|sles-12|ubuntu-18.04-amd64/
pkg.build_requires 'pl-cmake'
pkg.build_requires 'pl-gettext'
pkg.build_requires 'runtime'
elsif platform.name =~ /sles-11/
pkg.build_requires 'pl-cmake'
pkg.build_requires 'pl-gettext'
end

pkg.build_requires 'puppet-runtime' # Provides curl and ruby
Expand Down
2 changes: 1 addition & 1 deletion configs/projects/pxp-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
proj.setting(:service_conf, File.join(proj.install_root, 'service_conf'))

proj.component 'puppet-runtime'
proj.component 'runtime' if platform.name =~ /el-[67]|redhatfips-7|sles-1[12]|ubuntu-18.04-amd64/ || !platform.is_linux?
proj.component 'runtime' if platform.name =~ /el-[67]|redhatfips-7|sles-12|ubuntu-18.04-amd64/ || !platform.is_linux?

proj.component 'leatherman'
proj.component 'cpp-hocon'
Expand Down

0 comments on commit 79a7c3a

Please sign in to comment.