Skip to content

Commit

Permalink
feat: enable suse in install-fips-proxy-linux recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Guerguadj <nicolas.guerguadj@datadoghq.com>
  • Loading branch information
Kaderinho committed Jan 17, 2024
1 parent fa43c09 commit 3b68770
Showing 1 changed file with 8 additions and 11 deletions.
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

0 comments on commit 3b68770

Please sign in to comment.