Force installation of drive-utils
This commit is contained in:
parent
9e4879d9c8
commit
df731fdb44
|
@ -82,7 +82,7 @@ class sunetdrive::script (
|
||||||
}
|
}
|
||||||
$drive_version = '0.3.1'
|
$drive_version = '0.3.1'
|
||||||
exec { 'drive-utils':
|
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}",
|
unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
|
||||||
require => Package['python3'],
|
require => Package['python3'],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue