Open daks opened 3 years ago
Looks like the problem is coming from this file https://github.com/saltstack/kitchen-salt/blob/master/lib/kitchen/provisioner/install.erb#L56 and dist
value comes from lsb_release
wanted to put down that the tiamat daily build repos, such as https://repo.saltproject.io/salt-dev/py3/debian/10/amd64/ are using stable
for the dist value on all debian repos, so we should accommodate those as well.
For now, saltproject apt repository does not support Debian Bullseye (Debian 11) but you can still use the Buster (Debian 10) repository, with an URL like
(the same URL with bullseye does not work)
I have the following in my Kitchen config file:
As you can see the
salt_apt_repo
does not contain the 'distribution' target and its value is calculated by kitchen-salt as you can see on the log extract below:I found the
apt_repo_add
function/method here https://github.com/saltstack/kitchen-salt/blob/master/lib/kitchen/provisioner/repository-setup.sh but I didn't found where itsdist
parameter is coming from.Is there any way to specify/override the dist parameter, or could this functionality be added?