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

Enable suse in install-fips-proxy-linux recipe #906

Merged
merged 1 commit into from
Jan 18, 2024
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
19 changes: 8 additions & 11 deletions recipes/_install-fips-proxy-linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,12 @@
end
end
when 'suse'
raise 'SuSE currently unsupported for the datadog FIPS proxy.'

## Uncomment code below once SuSE support is added for FIPS proxy
# zypper_package dd_fips_proxy_package_name do # ~FC009
# version dd_fips_proxy_version
# retries package_retries unless package_retries.nil?
# retry_delay package_retry_delay unless package_retry_delay.nil?
# action package_action # default is :install
# # allow_downgrade is only suported for zypper_package since Chef Client 13.6
# allow_downgrade node['datadog']['fips_proxy_allow_downgrade'] if respond_to?(:allow_downgrade)
# end
zypper_package dd_fips_proxy_package_name do # ~FC009
version dd_fips_proxy_version
retries package_retries unless package_retries.nil?
retry_delay package_retry_delay unless package_retry_delay.nil?
action package_action # default is :install
# allow_downgrade is only suported for zypper_package since Chef Client 13.6
allow_downgrade node['datadog']['fips_proxy_allow_downgrade'] if respond_to?(:allow_downgrade)
end
end