Skip to content

Commit

Permalink
feat(comment): apply PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Aug 14, 2024
1 parent 00d94f5 commit 5d45036
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/repository_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,15 @@ def set_yum_repo_and_gnupg(key, install_gnupg)
end.converge(described_recipe)
end

# Key 4F09D16B (from 2024-05-15 to 2033-05-13)
# Key B01082D3 (from 2023-04-20 to 2028-04-18)
# Key FD4BF915 (from 2020-09-08 to 2024-09-07)
import_gpg_keys(
%w[current 4f09d16b b01082d3 fd4bf915]
)

# prefer HTTPS on boxes that support TLS1.2
it 'sets up a yum repo FD4BF915 and B01082D3' do
it 'sets up a yum repo 4F09D16B, FD4BF915 and B01082D3' do
expect(chef_run).to create_yum_repository('datadog').with(
gpgkey: [
'https://keys.datadoghq.com/DATADOG_RPM_KEY_CURRENT.public',
Expand All @@ -214,6 +215,7 @@ def set_yum_repo_and_gnupg(key, install_gnupg)
end.converge(described_recipe)
end

# Key 4F09D16B (from 2024-05-15 to 2033-05-13)
# Key B01082D3 (from 2023-04-20 to 2028-04-18)
# Key FD4BF915 (from 2020-09-08 to 2024-09-07)
import_gpg_keys([
Expand Down

0 comments on commit 5d45036

Please sign in to comment.