From 5c9732713e35a2561d0bf89f1f4e056bd5073e74 Mon Sep 17 00:00:00 2001 From: sugy Date: Tue, 25 Jul 2023 15:47:06 +0900 Subject: [PATCH] setup apt source uri. - https://github.com/STNS/package/blob/master/assets/scripts/apt-repo.sh#L14-L15 --- manifests/repo/apt.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index f872006..19cdd9b 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -1,7 +1,9 @@ class stns::repo::apt { + $dist = $::facts['lsbdistcodename'] apt::source { 'stns': - location => 'http://repo.stns.jp/debian/', + location => "http://repo.stns.jp/${dist}/", release => 'stns', + repos => $dist, key => { id => 'ED9008B740C6735CB3EF098C37DE344F75E258B6', source => $::stns::repo::gpgkey_url,