Compare commits

...

2 commits

Author SHA1 Message Date
Micke Nordin ec679013e3 Merge branch 'main' into testing 2023-11-01 16:36:09 +01:00
Micke Nordin 7aa4a25dbd os.distro.id is the fact name 2023-11-01 16:35:55 +01:00

View file

@ -81,7 +81,7 @@ class sunetdrive::script (
provider => apt,
}
$drive_version = '0.3.1'
if $facts['os']['name'] == 'Debian' {
if $facts['os']['distro']['id'] == 'Debian' {
$pip_cmd = 'pip3 install --break-system-packages'
} else {
$pip_cmd = 'python3 -m pip install'