diff --git a/manifests/script.pp b/manifests/script.pp index ce0a33d..538ced0 100644 --- a/manifests/script.pp +++ b/manifests/script.pp @@ -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'