python3.9 -> python3

This commit is contained in:
Micke Nordin 2023-11-01 15:20:23 +01:00
parent 3f1ea1b694
commit 440bcec0d2
3 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ class sunetdrive::script (
ensure => installed, ensure => installed,
provider => apt, provider => apt,
} }
package { 'python3.9': package { 'python3':
ensure => installed, ensure => installed,
provider => apt, provider => apt,
} }
@ -82,9 +82,9 @@ class sunetdrive::script (
} }
$drive_version = '0.3.1' $drive_version = '0.3.1'
exec { 'drive-utils': exec { 'drive-utils':
command => "python3.9 -m pip install https://pypi.sunet.se/packages/drive-utils-${drive_version}.tar.gz", command => "python3 -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}", unless => "python3 -m pip list | grep drive-utils | grep ${drive_version}",
require => Package['python3.9'], require => Package['python3'],
} }
file { '/root/.ssh/': file { '/root/.ssh/':
ensure => directory, ensure => directory,

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.9 #!/usr/bin/env python3
# vim: set filetype=python: # vim: set filetype=python:
import subprocess import subprocess

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.9 #!/usr/bin/env python3
# vim: set filetype=python: # vim: set filetype=python:
import subprocess import subprocess