python3.9 -> python3
This commit is contained in:
parent
3f1ea1b694
commit
440bcec0d2
|
@ -72,7 +72,7 @@ class sunetdrive::script (
|
|||
ensure => installed,
|
||||
provider => apt,
|
||||
}
|
||||
package { 'python3.9':
|
||||
package { 'python3':
|
||||
ensure => installed,
|
||||
provider => apt,
|
||||
}
|
||||
|
@ -82,9 +82,9 @@ class sunetdrive::script (
|
|||
}
|
||||
$drive_version = '0.3.1'
|
||||
exec { 'drive-utils':
|
||||
command => "python3.9 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz",
|
||||
unless => "python3.9 -m pip list | grep drive-utils | grep ${drive_version}",
|
||||
require => Package['python3.9'],
|
||||
command => "python3 -m pip install 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'],
|
||||
}
|
||||
file { '/root/.ssh/':
|
||||
ensure => directory,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python3.9
|
||||
#!/usr/bin/env python3
|
||||
# vim: set filetype=python:
|
||||
|
||||
import subprocess
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python3.9
|
||||
#!/usr/bin/env python3
|
||||
# vim: set filetype=python:
|
||||
|
||||
import subprocess
|
||||
|
|
Loading…
Reference in a new issue