Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PA-6181]: Fix acceptance test failure caused due to addition of Amazon Linux 2023 in pe-client-tools for orchestrator client pipeline #250

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/beaker-puppet/install_utils/foss_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ def install_puppetlabs_dev_repo(host, package_name, build_version,
repo_configs_dir = nil,
opts = options)
variant, version, arch, codename = host['platform'].to_array
if variant !~ /^(fedora|el|redhat|centos|debian|ubuntu|huaweios|cisco_nexus|cisco_ios_xr|sles)$/
if variant !~ /^(amazon|fedora|el|redhat|centos|debian|ubuntu|huaweios|cisco_nexus|cisco_ios_xr|sles)$/
raise "No repository installation step for #{variant} yet..."
end

Expand All @@ -1162,7 +1162,7 @@ def install_puppetlabs_dev_repo(host, package_name, build_version,
# url type
_, protocol, hostname = opts[:dev_builds_url].partition %r{.*://}
dev_builds_url = protocol + hostname
dev_builds_url = opts[:dev_builds_url] if variant =~ /^(fedora|el|redhat|centos)$/
dev_builds_url = opts[:dev_builds_url] if variant =~ /^(amazon|fedora|el|redhat|centos)$/

install_repo_configs(host, dev_builds_url, package_name,
build_version, platform_configs_dir)
Expand Down