Force installation of drive-utils

This commit is contained in:
Micke Nordin 2023-11-01 15:25:31 +01:00
parent 9e4879d9c8
commit df731fdb44

View file

@ -82,7 +82,7 @@ class sunetdrive::script (
}
$drive_version = '0.3.1'
exec { 'drive-utils':
command => "python3 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
command => "python3 -m pip install --break-system-packages https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
require => Package['python3'],
}