From 4542c7a9058add20636e36baac74c751c551ac54 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 19 Aug 2024 11:38:30 +0200 Subject: [PATCH] Avoid use of lsb facts The spec tests were still relying on LSB facts. Stop doing that. --- spec/classes/gitlab_ci_runner_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/gitlab_ci_runner_spec.rb b/spec/classes/gitlab_ci_runner_spec.rb index a10e617..1ba49bb 100644 --- a/spec/classes/gitlab_ci_runner_spec.rb +++ b/spec/classes/gitlab_ci_runner_spec.rb @@ -375,7 +375,7 @@ is_expected.to contain_apt__source('apt_gitlabci'). with( comment: 'GitlabCI Runner Repo', - location: "https://packages.gitlab.com/runner/gitlab-runner/#{facts[:lsbdistid].downcase}/", + location: "https://packages.gitlab.com/runner/gitlab-runner/#{facts[:os]['name'].downcase}/", repos: 'main', key: { 'name' => 'gitlab_ci_runner.asc',