Skip to content

Commit

Permalink
[sous-chefsGH-802] Fix to remove hard coded version 7 for Debian repo…
Browse files Browse the repository at this point in the history
…sitory

obvious fix
  • Loading branch information
ulfmansson authored Jun 11, 2024
1 parent 7b5314b commit 07c18f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/install_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if new_resource.enable_repository_actions
if platform_family?('debian')
apt_repository "elastic-#{major_version}.x" do
uri 'https://artifacts.elastic.co/packages/7.x/apt'
uri "https://artifacts.elastic.co/packages/#{major_version}.x/apt"
key 'elasticsearch.asc'
cookbook 'elasticsearch'
components ['main']
Expand Down

0 comments on commit 07c18f9

Please sign in to comment.